Purchase Order Type

purchase_order_type
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/19.0/purchase_order_type
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, mav-adhoc, Hudson5577, les-adhoc
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds a configurable *type* on the purchase orders. This type can be used
in filters and groupbys.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_kpis_tree purchase.order field Inherits purchase.purchase_order_kpis_tree
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
purchase_order_view_search purchase.order field Inherits purchase.purchase_order_view_search
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' compute='_compute_partner_order_type' domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False store=True string='Type'
Public methods (3)
  • 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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/18.0/purchase_order_type
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStefan Rijnhart, Weblate, OCA-git-bot, oca-ci, Jérémy Didderen, mav-adhoc
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds a configurable *type* on the purchase orders. This type can be used
in filters and groupbys.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_kpis_tree purchase.order field Inherits purchase.purchase_order_kpis_tree
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
purchase_order_view_search purchase.order field Inherits purchase.purchase_order_view_search
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner group Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type list New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' compute='_compute_partner_order_type' domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False store=True string='Type'
Public methods (3)
  • 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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/17.0/purchase_order_type
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci, David Alonso // Solvos, Roger
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds a configurable *type* on the purchase orders. This type can be used
in filters and groupbys.

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_kpis_tree purchase.order field Inherits purchase.purchase_order_kpis_tree
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
purchase_order_view_search purchase.order field Inherits purchase.purchase_order_view_search
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' compute='_compute_partner_order_type' domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False store=True string='Type'
Public methods (3)
  • 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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/16.0/purchase_order_type
VERSION
VERSION 1.0.3
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSDavid Alonso, Weblate, OCA-git-bot, valen, oca-ci, David Alonso // Solvos, Christian Santamaria
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' compute='_compute_partner_order_type' domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False states=Purchase.READONLY_STATES store=True string='Type'
Public methods (3)
  • 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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/15.0/purchase_order_type
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSDavid Alonso, OCA Transbot, Weblate, OCA-git-bot, oca-ci, David Alonso // Solvos, oca-git-bot, vvrossem
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False states=Purchase.READONLY_STATES string='Type'
Public methods (3)
  • create(self, vals)
    @api.model
  • onchange_order_type(self)
    @api.onchange('order_type')
  • onchange_partner_id(self)
    @api.onchange('partner_id')

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/14.0/purchase_order_type
VERSION
VERSION 1.0.5
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Kitti U, newtratip, Alessandro Uffreduzzi, David Alonso // Solvos, oca-git-bot, Surachet Saejueng
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False states=Purchase.READONLY_STATES string='Type'
Public methods (3)
  • create(self, vals)
    @api.model
  • onchange_order_type(self)
    @api.onchange('order_type')
  • onchange_partner_id(self)
    @api.onchange('partner_id')

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    string='Description' translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/13.0/purchase_order_type
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Kitti U, Héctor Villarreal Ortega, David Alonso // Solvos, ChristianSantamaria
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' default=<expr> domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict' readonly=False states=Purchase.READONLY_STATES string='Type'
Public methods (3)
  • create(self, vals)
    @api.model
  • onchange_order_type(self)
    @api.onchange('order_type')
  • onchange_partner_id(self)
    @api.onchange('partner_id')

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    string='Description' translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/12.0/purchase_order_type
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSGitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Iryna Vushnevska
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' default=_default_order_type ondelete='restrict' readonly=False states=Purchase.READONLY_STATES string='Type'
Public methods (3)
  • create(self, vals)
    @api.model
  • onchange_order_type(self)
    @api.multi@api.onchange('order_type')
  • onchange_partner_id(self)
    @api.multi@api.onchange('partner_id')

New fields (7)
  • active Boolean
    default=True
  • description Text
    string='Description' translate=True
  • incoterm_id Many2one → account.incoterms
    comodel_name='account.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=_default_sequence_id domain=_get_domain_sequence_id required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/11.0/purchase_order_type
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Oihane Crucelaegui
WEBSITE
WEBSITEhttps://github.com/OCA/purchase-workflow
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order field 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 New
view_purchase_order_type_tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' default=_default_order_type ondelete='restrict' readonly=False states=PurchaseOrder.READONLY_STATES string='Type'
Public methods (3)
  • create(self, vals)
    @api.model
  • onchange_order_type(self)
    @api.multi@api.onchange('order_type')
  • onchange_partner_id(self)
    @api.multi@api.onchange('partner_id')

New fields (7)
  • active Boolean
    default=True
  • description Text
    string='Description' translate=True
  • incoterm_id Many2one → stock.incoterms
    comodel_name='stock.incoterms' string='Incoterm'
  • name Char
    required=True
  • payment_term_id Many2one → account.payment.term
    comodel_name='account.payment.term' string='Payment Terms'
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=_default_sequence_id domain=_get_domain_sequence_id required=True string='Entry Sequence'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/10.0/purchase_order_type
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order.form purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order.list.select purchase.order field Inherits purchase.view_purchase_order_filter
view_purchase_order_type_search purchase.order.type.search purchase.order.type search New
view_purchase_order_type_tree purchase.order.type.tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' default=_default_order_type ondelete='restrict' readonly=False states=purchase_order.READONLY_STATES string='Type'
Public methods (2)
  • onchange_order_type(self)
    @api.one@api.onchange('order_type')
  • onchange_partner_id(self, partner_id)
    @api.multi

New fields (3)
  • active Boolean
    default=True
  • invoice_method Selection
    default=default_invoice_method required=True selection='_get_selection_invoice_method' string='Create Invoice'
  • name Char
    required=True
Public methods (1)
  • default_invoice_method(self)

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/9.0/purchase_order_type
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSPedro M. Baeza, cubells, OCA Transbot, Juan Jose Scarafia
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order.form purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner group Inherits base.view_partner_form
view_purchase_order_filter purchase.order.list.select purchase.order field Inherits purchase.view_purchase_order_filter
view_purchase_order_type_search purchase.order.type.search purchase.order.type search New
view_purchase_order_type_tree purchase.order.type.tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' default=_default_order_type ondelete='restrict' readonly=False states=purchase_order.READONLY_STATES string='Type'
Public methods (2)
  • onchange_partner_id_purchase_order_type(self)
    @api.onchange('partner_id', 'company_id')
  • onchange_purchase_order_type(self)
    @api.onchange('order_type')

New fields (4)
  • active Boolean
    default=True
  • incoterm_id Many2one → stock.incoterms
    comodel_name='stock.incoterms' string='Incoterm'
  • name Char
    required=True
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' domain="[('code', '=', 'incoming')]" string='Deliver To'
Public methods (0)

No public methods.

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/8.0/purchase_order_type
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSStéphane Bidoul, Guewen Baconnier, OCA Transbot, oca-travis, Weblate, Nicolas Mac Rouillon
WEBSITE
WEBSITEhttp://www.camptocamp.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - purchase
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - account
    - analytic
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
purchase_order_form purchase.order.form purchase.order field Inherits purchase.purchase_order_form
purchase_order_tree purchase.order.form purchase.order field Inherits purchase.purchase_order_tree
res_partner_purchase_type_form_view res.partner.purchase_type.form res.partner page Inherits base.view_partner_form
view_purchase_order_filter purchase.order.list.select purchase.order field Inherits purchase.view_purchase_order_filter
view_purchase_order_type_search purchase.order.type.search purchase.order.type search New
view_purchase_order_type_tree purchase.order.type.tree purchase.order.type tree New
Models touched (3)

New fields (1)
  • order_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' default=_default_order_type ondelete='restrict' readonly=False states=purchase_order.READONLY_STATES string='Type'
Public methods (2)
  • onchange_order_type(self)
    @api.one@api.onchange('order_type')
  • onchange_partner_id(self, partner_id)
    @api.multi

New fields (3)
  • active Boolean
    default=True
  • invoice_method Selection
    default=default_invoice_method required=True selection='_get_selection_invoice_method' string='Create Invoice'
  • name Char
    required=True
Public methods (1)
  • default_invoice_method(self)

New fields (1)
  • purchase_type Many2one → purchase.order.type
    comodel_name='purchase.order.type' string='Purchase Order Type'
Public methods (0)

No public methods.