[IMP] account_advanced_protection_features: control bank statement lines deletion with allow_bank_statement_deletion journal param

This commit is contained in:
2025-08-29 10:36:33 +02:00
parent 2bef8b4e0c
commit e437d7fdf2
3 changed files with 58 additions and 13 deletions

View File

@@ -5,4 +5,8 @@ class AccountJournal(models.Model):
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")
allow_bank_statement_deletion = fields.Boolean("Allow bank statement deletion")
allow_bank_statement_deletion = fields.Boolean(
"Allow bank statements deletion",
help="Users with group Show Full Accounting Features (id: group_account_user) will be allowed to delete account bank statements "
"and bank statement lines."
)