account_invoice_constraint_chronology
Enforces chronological consistency of invoices by blocking validations that break date or sequence order.
Key Features
- account.journal: Adds a check_chronology toggle on sale and purchase journals to activate chronological controls for invoices.
- account.move: Prevents posting an invoice when draft invoices dated earlier still exist in the same journal.
- account.move: Blocks posting if a posted invoice with a later date already exists in the same journal.
- account.move: Rejects posting when a higher numbered invoice dated before the current one is found in the journal.
- account.move: Stops validation of already numbered invoices whose sequence order conflicts with previously validated documents around their dates.