[IMP] account_advanced_protection_features: migrate from version 16 to version 18
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m24s

This commit is contained in:
2025-10-07 17:21:32 +02:00
parent e45ad867c0
commit 1f53587a3f

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>