[IMP] account_advanced_protection_features: be able to manage prevent_deletion_of_posted_account_move option in journals

This commit is contained in:
2025-08-21 18:43:17 +02:00
parent 288e9dd7ea
commit a0ab4f96bd
4 changed files with 53 additions and 28 deletions

View File

@@ -6,6 +6,9 @@
<field name="inherit_id" ref="account.view_account_journal_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='restrict_mode_hash_table']" position="after">
<field
name="prevent_deletion_of_posted_account_move"
/>
<field
name="prevent_reset_to_draft_sent_invoice"
attrs="{'invisible': [('type', '!=', 'sale')]}"