[FIX] account: Fix missing cancel option in Misc. journal form

Introduced by:
https://github.com/odoo/odoo/commit/73fc643057958edd37e385148dcf22c768e3cc01

-opw: 1921034

closes odoo/odoo#29885
This commit is contained in:
Laurent Smet
2019-01-03 12:27:56 +00:00
parent 57c6dab075
commit f24d5dd2b6
+1 -1
View File
@@ -291,7 +291,7 @@
<field name="inbound_payment_method_ids" widget="many2many_checkboxes"/>
<field name="outbound_payment_method_ids" widget="many2many_checkboxes"/>
</group>
<group string="Accounting App Options" attrs="{'invisible': [('type', 'not in', ['sale', 'purchase', 'bank', 'cash'])]}">
<group string="Accounting App Options">
<field name="profit_account_id" attrs="{'invisible': [('type', '!=', 'cash')]}"/>
<field name="loss_account_id" attrs="{'invisible': [('type', '!=', 'cash')]}"/>
<field name="group_invoice_lines" attrs="{'invisible': [('type', 'not in', ['sale', 'purchase'])]}"/>