Purchase Start End Dates
purchase_start_end_dates · OCA/purchase-workflow
Health
54/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 22 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…