Skip to content
Snippets Groups Projects
Commit 8c6976a6 authored by Andrea Grazioso (agr-odoo)'s avatar Andrea Grazioso (agr-odoo)
Browse files

[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: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent a04502c9
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment