TIP: You can type at any time to perform a new search.
Purchase Start End Dates
purchase_start_end_dates · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Purchase
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 08:23:03
- Authors
- Odoo Community Association (OCA), elego Software Solutions GmbH
- Maintainers
- Odoo Community Association (OCA), elego Software Solutions GmbH
- Committers
- micheledic, Weblate, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
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.
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form.start.end.dates. | purchase.order | form | Inherits purchase.purchase_order_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
default_end_dateDate -
default_start_dateDate
-
default_end_date_change(self)@api.onchange('default_end_date') -
default_start_date_change(self)@api.onchange('default_start_date')
New fields (4)
-
end_dateDatereadonly=True -
must_have_datesBooleanrelated='product_id.must_have_dates' -
number_of_daysIntegercompute='_compute_number_of_days'inverse='_inverse_number_of_days'readonly=Falsestore=Truestring='Number of Days' -
start_dateDatereadonly=True
-
end_date_change(self)@api.onchange('end_date') -
start_date_change(self)@api.onchange('start_date') -
start_end_dates_product_id_change(self)@api.onchange('product_id')
Loading…