[IMP] account_advanced_protection_features: remove group group_account_super_user and create group_account_protection_manager which gives access to protection features

This commit is contained in:
2025-08-22 10:25:31 +02:00
parent 0785c49c96
commit 581589afc8
7 changed files with 29 additions and 17 deletions

View File

@@ -8,13 +8,16 @@
<xpath expr="//field[@name='restrict_mode_hash_table']" position="after">
<field
name="prevent_deletion_of_posted_account_move"
groups="account_advanced_protection_features.group_account_protection_manager"
/>
<field
name="prevent_reset_to_draft_sent_invoice"
groups="account_advanced_protection_features.group_account_protection_manager"
attrs="{'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'])]}"
/>
</xpath>