[FIX] analytic: avoid traceback when searching more analytic plans
In the profit and loss report, if you go to "Analytic Group By" and select 'Search More' (need more than 7 plans), there is a traceback because "True" is not a valid JSON. This PR fixes this by changing "True" by "1" like other occurrences of multi_edit parameter. opw-3222611 closes odoo/odoo#115422 X-original-commit: 687a166e8c089a650c99eefe9d604c8c2762e1b7 Signed-off-by: John Laterre (jol) <jol@odoo.com> Signed-off-by: Beckers Thomas (tbs) <tbs@odoo.com>
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
<field name="name">account.analytic.plan.tree</field>
|
||||
<field name="model">account.analytic.plan</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="Analytic Plans" multi_edit="True">
|
||||
<tree string="Analytic Plans" multi_edit="1">
|
||||
<field name="name"/>
|
||||
<field name="default_applicability"/>
|
||||
<field name="color" widget="color_picker"/>
|
||||
|
||||
Reference in New Issue
Block a user