Purchase Order Type
purchase_order_type · OCA/purchase-workflow
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 12 Odoo series since 8.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.63 MB
Module directory on disk
Code analysis
0 migration notes
5 models
10 views
0 HTTP endpoints
Description
Adds a configurable type on the purchase orders. This type can be used in filters and groupbys.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 10
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order | form | Inherits purchase.purchase_order_form | |
purchase_order_kpis_tree |
purchase.order | tree | Inherits purchase.purchase_order_kpis_tree | |
purchase_order_tree |
purchase.order | tree | Inherits purchase.purchase_order_tree | |
purchase_order_view_search |
purchase.order | search | Inherits purchase.purchase_order_view_search | |
res_config_settings_view_form_purchase |
res.config.settings | form | Inherits purchase.res_config_settings_view_form_purchase | |
res_partner_purchase_type_form_view |
res.partner.purchase_type.form | res.partner | form | Inherits base.view_partner_form |
view_purchase_order_filter |
purchase.order | Inherits purchase.view_purchase_order_filter | ||
view_purchase_order_type_form |
purchase.order.type | form | New | |
view_purchase_order_type_search |
purchase.order.type.search | purchase.order.type | search | New |
view_purchase_order_type_tree |
purchase.order.type | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
order_typeMany2one → purchase.order.typecomodel_name='purchase.order.type'domain="[('company_id', 'in', [False, company_id])]"ondelete='restrict'string='Type' -
order_type_requiredBooleanrelated='company_id.purchase_order_type_required'
-
create(self, vals_list)@api.model_create_multi -
onchange_order_type(self)@api.onchange('order_type') -
onchange_partner_id(self)@api.onchange('partner_id')
New fields (9)
-
activeBooleandefault=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr> -
descriptionTexttranslate=True -
incoterm_idMany2one → account.incotermscomodel_name='account.incoterms' -
is_defaultBooleanhelp='Used as the fallback order type for a purchase order whose vendor does not provide one, and to correct a purchase order whose type no longer suits its company after the company changes.'string='Default' -
nameCharrequired=True -
payment_term_idMany2one → account.payment.termcomodel_name='account.payment.term'string='Payment Terms' -
sequenceIntegerdefault=10 -
sequence_idMany2one → ir.sequencecomodel_name='ir.sequence'copy=Falsedefault=<expr>domain=<expr>required=Truestring='Entry Sequence'
No public methods.
New fields (1)
-
purchase_order_type_requiredBooleanhelp='If enabled, a purchase order can only be saved in the form once it has an order type.'string='Require Purchase Order Type'
No public methods.
New fields (1)
-
purchase_order_type_requiredBooleanreadonly=Falserelated='company_id.purchase_order_type_required'
No public methods.
New fields (1)
-
purchase_typeMany2one → purchase.order.typecomodel_name='purchase.order.type'string='Purchase Order Type'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…