summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2019-12-04 07:41:39 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2019-12-04 14:11:32 +0000
commit8c6976a6344d9a5fe284b3df8e2bf89ceeb0595f (patch)
treee6be72c5b036cdf0c9861ae7e5c613417ec97da4 /addons
parenta04502c97e5b9ca69969588c018fa47746b74eb4 (diff)
[FIX] account: correctly get "Search More" output
Open Bank reconciliation, deactivate some record (-), go to "Manual Operations" tab, add Analytic Tags using the "Search More" functionality. Resulting tag will be blank and impossible to delete. This is because: 1) The field shown is the display name, which is missing. 2) When selecting analytic tag(s) this way an array of results is returned but it is not handled correclty by the view. When selecting the analytic tag from the drop down menu a single value '{id: , display_name: }' is returned. opw-2146833 closes odoo/odoo#41419 X-original-commit: 42ae9ce544605314d969ae1210245f5b5bbf2628 Related: odoo/enterprise#7073 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/analytic/views/analytic_account_views.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/analytic/views/analytic_account_views.xml b/addons/analytic/views/analytic_account_views.xml
index 8ea19b0e550..99cc0724db6 100644
--- a/addons/analytic/views/analytic_account_views.xml
+++ b/addons/analytic/views/analytic_account_views.xml
@@ -6,6 +6,7 @@
<field name="arch" type="xml">
<tree string="Analytic Tags">
<field name="name"/>
+ <field name="display_name" invisible="1"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
</field>