account_sequence_option
Extends accounting moves to support assigning document numbers through configurable sequence options instead of the journal default.
Key Features
- accounting: Provides a sequence option configuration entry covering invoices, bills, refunds, and payments so optional numbering can be enabled.
- account.move: Adds a computed flag that tracks when a move has been numbered via an optional sequence.
- account.move: Fetches the matching optional sequence when posting and assigns its next number to the move name.
- account.move: Keeps draft and cancelled moves unnumbered unless their optional sequence already ran, preventing unwanted automatic numbering.
- account.move: Skips the date-sequence consistency constraint for moves handled by optional sequences while preserving it for the rest.
- ir.sequence.option: Allows defining sequence options for account moves and cascades cleanup when such options are removed.