Add daily reset support to Odoo 19 accounting sequence detection without patching core files.
This module extends Odoo's native sequence logic so account.move can recognize and work with daily reset numbering such as BILL/2026/05/02/0001. It is designed as a narrow, upgrade-friendly extension: native yearly, monthly, and financial-year behaviors stay intact, while a new day reset mode becomes available when the sequence format explicitly includes a day component.
- Detects daily reset sequence patterns like
PREFIX/YYYY/MM/DD/0001. - Preserves standard Odoo sequence behaviors for:
- yearly reset
- monthly reset
- year-range reset
- year-range-month reset
- fixed numbering
- Extends
account.movewarnings so daily formats are explained correctly to users. - Extends the Resequence Wizard preview and recomputation flow for daily periods.
- Respects
sequence_override_regexon journals. - Keeps all changes addon-local with no Odoo core edits.
Once a journal is intentionally using a daily sequence pattern, Odoo can continue with values such as:
INV/2026/05/02/0001
INV/2026/05/02/0002
INV/2026/05/03/0001
models/sequence_mixin.pyIntroduces the custom daily regex, reset deduction, date-range handling, and next-sequence formatting support.models/account_move.pyExtends the onchange warning logic so daily sequence structures are recognized and described correctly.models/account_resequence.pyEnhances preview and recomputation logic inaccount.resequence.wizardfor exact per-day periods.
tha_sequence_mixin_ext/
|-- models/
|-- README.md
`-- __manifest__.py
account
- Place the module in your custom addons path.
- Update the Apps list in Odoo.
- Install Sequence Mixin Extension.
- Daily behavior activates only when the sequence format itself contains a day component.
- This module does not silently convert existing journals from monthly or yearly numbering.
- Test sequence behavior in a staging database before using it in production accounting flows.
This module is licensed under LGPL-3.