OdooWiki OCA HUB

HR Expense Advance Clearing Sequence

hr_expense_advance_clearing_sequence folder_open OCA/hr-expense open_in_new
Human Resources License: AGPL-3

This module adds the possibility to define a sequence for the expense report's reference that Employee advance. This reference is then set as default when you create a new expense report, using the defined sequence.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically gives employee advance expense reports their own reference number, starting with AV, instead of the standard expense report numbering.

This module makes Odoo use a separate numbering series for employee advance expense reports, so they can be told apart from normal expense reports.

  • A new sequence is installed with the prefix AV and four digits (for example AV0001).
  • When a new expense report is created and it is an advance (or is created from an advance context), Odoo automatically fills in its reference number from this advance sequence.
  • If the sequence cannot produce a number, the reference is left as a simple slash.
  • Normal expense reports that are not advances keep using the standard numbering from the related expense sequence module.

The change is applied on the expense report model hr.expense.sheet, so it works wherever expense reports are created in Odoo, including the Expense app. No new menus, buttons or reports are added; the only visible difference for users is the reference number shown on advance expense reports.

Required by other modules

Models and fields (1)
  • hr.expense.sheet · extends an existing model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/hr-expense.

terminal Installation and usage

OCA documentation · Odoo 18.0

You can change the default sequence (EXAV0001) by the one of your choice going to Settings \> Technical \> Sequences & Identifiers \> Sequences, and editing the record Expense report sequence (Advance).

You will only have access to that section if your section has Technical features permission check marked.

No verified information in OCA: Installation, Usage.

info

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.