[FIX] account: missing field used in domain traceback
before this commit, on enabling mass editing in payment and journals tree view, using studio throws exception saying field used in domain is missing in the view. * install studio * go to payment/journal tree view * enable mass editing for the view using studio * traceback is thrown after this commit, no traceback on enabling mass editing closes odoo/odoo#116127 X-original-commit: 3a53901aa4fce3080a42f9507de4afa5eb7cf7a4 Related: odoo/enterprise#38520 Signed-off-by: Quentin De Paoli <qdp@odoo.com> Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<field name="default_account_id" optional="show"/>
|
||||
<field name="active" optional="hide"/>
|
||||
<field name="company_id" groups="base.group_multi_company" optional="hide"/>
|
||||
<field name="company_id" groups="!base.group_multi_company" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
<button name="action_post" type="object" string="Confirm"/>
|
||||
</header>
|
||||
<field name="company_currency_id" invisible="1"/>
|
||||
<field name="suitable_journal_ids" invisible="1"/>
|
||||
<field name="available_payment_method_line_ids" invisible="1"/>
|
||||
<field name="date"/>
|
||||
<field name="name"/>
|
||||
<field name="journal_id"/>
|
||||
|
||||
Reference in New Issue
Block a user