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

This commit is contained in:
2025-08-21 18:29:16 +02:00
parent 995d7381c4
commit 288e9dd7ea
5 changed files with 26 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
from odoo import models, fields
class AccountJournal(models.Model):
_inherit = "account.journal"
prevent_reset_to_draft_sent_invoice = fields.Boolean("Prevent to reset to draft a sent invoice")