1 Commits

View File

@@ -13,12 +13,12 @@
<field <field
name="prevent_reset_to_draft_sent_invoice" name="prevent_reset_to_draft_sent_invoice"
groups="account_advanced_protection_features.group_account_protection_manager" groups="account_advanced_protection_features.group_account_protection_manager"
invisible="type != 'sale'" attrs="{'invisible': [('type', '!=', 'sale')]}"
/> />
<field <field
name="allow_bank_statement_deletion" name="allow_bank_statement_deletion"
groups="account_advanced_protection_features.group_account_protection_manager" groups="account_advanced_protection_features.group_account_protection_manager"
invisible="type not in ['bank', 'cash']" attrs="{'invisible': [('type', 'not in', ['bank', 'cash'])]}"
/> />
</xpath> </xpath>
</field> </field>