18.0-migrate-account_advanced_protection_features #25

Merged
mondot merged 3 commits from 18.0-migrate-account_advanced_protection_features into 18.0 2025-10-08 14:07:18 +00:00
Showing only changes of commit 1f53587a3f - Show all commits

View File

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