TIP: You can type at any time to perform a new search.
Purchase Order Type
purchase_order_type · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Purchase Management
- Folder size
- 0.43 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-13 11:29:18
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- David Vidal, Weblate, OCA-git-bot, oca-ci, mav-adhoc, Hudson5577, les-adhoc
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Adds a configurable *type* on the purchase orders. This type can be used in filters and groupbys.
Code Analysis ⓘ
Views touched (9)
| 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_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 (3)
New fields (1)
-
order_typeMany2one → purchase.order.typecomodel_name='purchase.order.type'compute='_compute_partner_order_type'domain="[('company_id', 'in', [False, company_id])]"ondelete='restrict'readonly=Falsestore=Truestring='Type'
-
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 (8)
-
activeBooleandefault=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr> -
descriptionTexttranslate=True -
incoterm_idMany2one → account.incotermscomodel_name='account.incoterms' -
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_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…