[IMP] account_advanced_protection_features: manage allow_bank_statement_deletion in cash and bank journals

This commit is contained in:
2025-08-22 10:04:49 +02:00
parent a0ab4f96bd
commit 0785c49c96
4 changed files with 19 additions and 0 deletions

View File

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