This module extends module ir_sequence_option and allow you to provide optional sequences for hr.expense.sheet documents.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you choose between several numbering sequences for expense reports (hr.expense.sheet), so different expense reports can get different reference numbers based on rules you define.
This module adds expense reports to the list of documents that can use optional numbering sequences. In Odoo, an expense report (hr.expense.sheet) normally gets its reference from a single fixed sequence. With this module, you can set up several alternative sequences and decide which one applies.
Where it appears: - In the sequence option configuration screens, the document type list now includes hr.expense.sheet, so you can create a sequence option for expense reports. - Each option can contain one or more lines, each with its own sequence and an optional filter rule.
What it does automatically: - When a new expense report is created, the module looks at the available sequence option lines and picks the matching sequence for that report. - The chosen sequence is then used to generate the report's reference number.
Business rules: - If no option line matches, the standard expense report numbering is used. - The filter rule on each option line decides which reports get which sequence (for example, by company or another condition you configure).
It touches the hr.expense.sheet model (expense reports) and the ir.sequence.option model (the configuration of sequence choices). No new menus or reports are added; the change is in how expense report numbers are assigned.
Depends on
Models and fields (2)
- hr.expense.sheet · extends an existing model
- ir.sequence.option · extends an existing modelmodel
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/hr-expense.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.