[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

@@ -4,3 +4,4 @@ class AccountJournal(models.Model):
_inherit = "account.journal"
prevent_reset_to_draft_sent_invoice = fields.Boolean("Prevent to reset to draft a sent invoice")
prevent_deletion_of_posted_account_move = fields.Boolean("Prevent to delete an already posted account move")