This module adds the fields Start Date and End Date on purchase order lines (requied fields when the product has the Must Have Start and End Dates property). You can also define a Default Start Date and Default End Date on the purchase order; when set, these dates will be used by default on new purchase order lines. Upon invoice creation, the values of the start/end dates of the purchase order line are copied to the start/end dates of invoice lines.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Adds Start Date, End Date and Number of Days on purchase order lines for products that require dates, and copies them to the vendor bill lines. Purchase orders can also define default start and end dates for new lines.
For products flagged as requiring start and end dates, purchase order lines now show Start Date, End Date and Number of Days fields. These fields are only visible and mandatory for such products, and can only be edited while the purchase order is still in draft.
On the purchase order itself you can set a Default Start Date and Default End Date. When you add a line for a product that requires dates, these defaults are automatically filled in; otherwise the line dates stay empty. If you change the number of days, Odoo recalculates the end date from the start date (or the start date from the end date). A negative number of days is not allowed: a warning appears and the value is forced to 1.
Odoo checks that the start date is not after the end date, both on the order defaults and on the lines, and blocks saving with an error message if a required date is missing. When the purchase order is invoiced, the start and end dates of the line are copied to the corresponding vendor bill lines.
The new fields appear in the purchase order form, both in the order lines list and in the detailed line pop-up, next to the product.
Depends on
Models and fields (2)
- purchase.order · extends an existing modeldefault_end_date, default_start_date
- purchase.order.line · extends an existing modelend_date, start_date, number_of_days (Number of Days), must_have_dates
Text generated by AI (DeepSeek) from reading the Odoo 17.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 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/purchase-workflow.
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.