Account invoice start end dates on invoice
This module adds the possibility to apply start and end date for a whole account move.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Lets you set a start and end date on a whole invoice or bill, and automatically copies those dates onto its lines. A company setting controls whether the dates apply to every line or only to products flagged as needing dates.
This module adds a start date and an end date at the top of an invoice, bill, credit note or receipt. They appear on the form next to the journal, and only while the document is still in draft.
When you change these dates, Odoo copies them down to the invoice lines. Whether a line receives the dates depends on two things:
- The company setting "Apply Start/End Dates To All Account Move Lines". When switched on, every line gets the dates, even lines with no product or with a product not flagged for dates.
- The product's own "must have dates" flag. When the setting is off, only lines whose product is flagged receive the dates.
Section and note lines are skipped. The same copy happens when you pick a product on a line, and also when lines are created by other processes, so the dates are filled in automatically as long as the line does not already have its own dates.
The setting is found in Accounting settings, under a new "Account Start/End Dates" section. It is stored per company and is on by default. The module touches account.move, account.move.line, res.company and res.config.settings.
Depends on
Models and fields (4)
- res.company · extends an existing modelapply_dates_all_lines (Apply Start/End Dates To All Account Move Lines)
- account.move · extends an existing modelend_date, start_date
- account.move.line · extends an existing model
- res.config.settings · extends an existing modelapply_dates_all_lines
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/account-closing.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0Enable or disable option to set all the lines with start/end date (enabled by default).
If this option is disabled, only line which product has must_have_dates option enabled will be updated.
Usage
Source · Odoo 16.0To use this module, you simply need to:
- Create an invoice.
- Set start and end date on invoice header.
Dates will be set to lines which product has must_have_dates option enabled, or to all lines if general option apply_dates_all_lines is enabled.
No verified information in OCA: Installation.
Installation 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.