Operating Unit in Purchase Orders

purchase_operating_unit
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/18.0/purchase_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - account_operating_unit
    - analytic_operating_unit
    - operating_unit
OCA/server-tools:
    - base_view_inheritance_extension
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
This module introduces the following features:

- It introduces the operating unit to the purchase order.
- The operating unit is copied to the invoice.
- It implements user's security rules.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
purchase_order_form purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_move_form_inherit account.move.form.inherit account.move xpath Inherits purchase.view_move_form_inherit_purchase
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
view_purchase_order_search report.purchase.order.search purchase.report xpath Inherits purchase.view_purchase_order_search
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' default=<expr> string='Operating Unit'
  • requesting_operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' default=<expr> string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    check_company=True related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' readonly=True string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/17.0/purchase_operating_unit
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Iván Todorovich, oca-ci, Jérémy Didderen
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - account_operating_unit
    - analytic_operating_unit
    - operating_unit
OCA/server-tools:
    - base_view_inheritance_extension
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
This module introduces the following features:

- It introduces the operating unit to the purchase order.
- The operating unit is copied to the invoice.
- It implements user's security rules.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
purchase_order_form purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_move_form_inherit account.move.form.inherit account.move xpath Inherits purchase.view_move_form_inherit_purchase
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
view_purchase_order_search report.purchase.order.search purchase.report xpath Inherits purchase.view_purchase_order_search
Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' default=<expr> index=True string='Operating Unit'
  • requesting_operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' default=<expr> string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    check_company=True related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' readonly=True string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/15.0/purchase_operating_unit
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSAaronHForgeFlow, Weblate, OCA-git-bot, oca-ci, Saran440, ps-tubtim
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - account_operating_unit
    - analytic_operating_unit
    - operating_unit
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 (8)
XML IDNameModelTypeStatus
purchase_order_form purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_move_form_inherit account.move.form.inherit account.move xpath Inherits purchase.view_move_form_inherit_purchase
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
view_purchase_order_search report.purchase.order.search purchase.report xpath Inherits purchase.view_purchase_order_search
Models touched (5)

New fields (1)
  • purchase_ou_domain Many2many → purchase.order
    comodel_name='purchase.order' compute='_compute_purchase_ou_domain'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Operating Unit'
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' readonly=True string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/14.0/purchase_operating_unit
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci, Kitti U, Giovanni, Alessandro Uffreduzzi, ps-tubtim, oca-git-bot, Melody Uffreduzzi, Tyok Pamungkas
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - stock_operating_unit
    - operating_unit
    - account_operating_unit
    - analytic_operating_unit
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - purchase_stock
    - stock_account
    - account
    - analytic
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
purchase_order_form purchase_order_form purchase.order field Inherits purchase.purchase_order_form
purchase_order_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_move_form_inherit account.move.form.inherit account.move xpath Inherits purchase.view_move_form_inherit_purchase
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
view_purchase_order_search report.purchase.order.search purchase.report xpath Inherits purchase.view_purchase_order_search
Models touched (5)

New fields (1)
  • purchase_ou_domain Many2many → purchase.order
    comodel_name='purchase.order' compute='_compute_purchase_ou_domain'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Operating Unit'
  • picking_type_id Many2one
    default=_default_picking_type states={'confirmed': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]}
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' readonly=True string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/13.0/purchase_operating_unit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSmreficent, OCA Transbot, oca-travis, OCA-git-bot, Nikul Chaudhary, BT-nstuder
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - stock_operating_unit
    - operating_unit
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - purchase_stock
    - stock_account
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase
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_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
Models touched (4)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Operating Unit'
  • picking_type_id Many2one
    default=_default_picking_type states={'confirmed': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]}
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/12.0/purchase_operating_unit
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA Transbot, ahenriquez, oca-travis, Weblate, OCA-git-bot, gborruso@dinamicheaziendali.it, scampbell, Murtuza Saleh
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - stock_operating_unit
    - operating_unit
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - purchase_stock
    - stock_account
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - purchase
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_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • purchase_order_change(self)
    @api.onchange('purchase_id')
    Override to add Operating Unit from Purchase Order to Invoice.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Operating Unit'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' default=<expr> help='This will determine picking type of incoming shipment' required=True states={'confirmed': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Deliver To'
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

New fields (2)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' readonly=True string='Operating Unit'
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' readonly=True string='Requesting Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/11.0/purchase_operating_unit
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSOCA-git-bot, Aarón Henríquez
WEBSITE
WEBSITEhttps://www.github.com/oca/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - stock_operating_unit
    - account_operating_unit
    - operating_unit
    - analytic_operating_unit
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
    - purchase
    - stock_account
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_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line filter Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • purchase_order_change(self)
    @api.onchange('purchase_id')
    Override to add Operating Unit from Purchase Order to Invoice.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Operating Unit'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' default=<expr> help='This will determine picking type of incoming shipment' required=True states={'confirmed': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Deliver To'
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    readonly=True related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/10.0/purchase_operating_unit
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSJordi Ballester Alomar, aheficent, aaron, Aarón Henríquez
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - procurement_operating_unit
    - operating_unit
    - stock_operating_unit
    - account_operating_unit
    - analytic_operating_unit
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_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line xpath Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • purchase_order_change(self)
    @api.onchange('purchase_id')
    Override to add Operating Unit from Purchase Order to Invoice.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Operating Unit'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' default=<expr> help='This will determine picking type of incoming shipment' required=True states={'confirmed': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Deliver To'
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> states=READONLY_STATES string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    readonly=True related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/9.0/purchase_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, Serpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSJordi Ballester Alomar
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - procurement_operating_unit
    - operating_unit
    - stock_operating_unit
    - account_operating_unit
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_line_form purchase_order_line_form purchase.order.line field Inherits purchase.purchase_order_line_form2
purchase_order_line_search purchase_order_line_search purchase.order.line xpath Inherits purchase.purchase_order_line_search
purchase_order_line_tree purchase_order_line_tree purchase.order.line field Inherits purchase.purchase_order_line_tree
purchase_order_tree purchase_order_tree purchase.order field Inherits purchase.purchase_order_tree
view_purchase_order_filter view_purchase_order_filter purchase.order xpath Inherits purchase.view_purchase_order_filter
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • purchase_order_change(self)
    @api.onchange('purchase_id')
    Override to add Operating Unit from Purchase Order to Invoice.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> string='Operating Unit'
  • picking_type_id Many2one → stock.picking.type
    comodel_name='stock.picking.type' default=<expr> help='This will determine picking type of incoming shipment' required=True states={'confirmed': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Deliver To'
  • requesting_operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' default=<expr> string='Requesting Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one
    readonly=True related='order_id.operating_unit_id' string='Operating Unit'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/operating-unit
PULL REQUEST
PULL REQUEST[16.0][MIG] purchase_operating_unit (#595)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/operating-unit
PULL REQUEST
PULL REQUEST[19.0] [MIG] purchase_operating_unit: Migration from 18.0 to 19.0 (#861)