Operating Unit in Purchase Requests

purchase_request_operating_unit
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_request_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, SerpentCS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ForgeFlow, SerpentCS
COMMITTERS
COMMITTERSMiquel Raïch, AaronHForgeFlow, Weblate, OCA-git-bot, Jesús Alan Ramos Rodríguez, oca-ci, Saran440
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:
    - purchase_operating_unit
    - account_operating_unit
    - analytic_operating_unit
    - operating_unit
    - stock_operating_unit
OCA/purchase-workflow:
    - purchase_request
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase_stock
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_request_line_form purchase.request.line.form purchase.request.line field Inherits purchase_request.purchase_request_line_form
purchase_request_line_search purchase.request.line.search purchase.request.line field Inherits purchase_request.purchase_request_line_search
purchase_request_line_tree purchase.request.line.tree purchase.request.line field Inherits purchase_request.purchase_request_line_tree
view_purchase_request_form purchase.request.form purchase.request field Inherits purchase_request.view_purchase_request_form
view_purchase_request_line_make_purchase_order Purchase Request Line Make Purchase Order purchase.request.line.make.purchase.order field Inherits purchase_request.view_purchase_request_line_make_purchase_order
view_purchase_request_search purchase.request.list.select purchase.request group Inherits purchase_request.view_purchase_request_search
view_purchase_request_tree purchase.request.tree purchase.request field Inherits purchase_request.view_purchase_request_tree
Models touched (4)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=<expr> states={'to_approve': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    related='request_id.operating_unit_id' store=True string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True string='Operating Unit' args: 'operating.unit'
Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (0)

No new fields.

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_request_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, SerpentCS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Saran440, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - purchase_operating_unit
    - stock_operating_unit
    - operating_unit
    - account_operating_unit
    - analytic_operating_unit
OCA/purchase-workflow:
    - purchase_request
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - purchase_stock
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_request_line_form purchase.request.line.form purchase.request.line field Inherits purchase_request.purchase_request_line_form
purchase_request_line_search purchase.request.line.search purchase.request.line field Inherits purchase_request.purchase_request_line_search
purchase_request_line_tree purchase.request.line.tree purchase.request.line field Inherits purchase_request.purchase_request_line_tree
view_purchase_request_form purchase.request.form purchase.request field Inherits purchase_request.view_purchase_request_form
view_purchase_request_line_make_purchase_order Purchase Request Line Make Purchase Order purchase.request.line.make.purchase.order field Inherits purchase_request.view_purchase_request_line_make_purchase_order
view_purchase_request_search purchase.request.list.select purchase.request group Inherits purchase_request.view_purchase_request_search
view_purchase_request_tree purchase.request.tree purchase.request field Inherits purchase_request.view_purchase_request_tree
Models touched (3)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=<expr> states={'to_approve': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    related='request_id.operating_unit_id' store=True string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True string='Operating Unit' args: 'operating.unit'
Public methods (1)
  • default_get(self, fields)
    @api.model
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_request_operating_unit
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Eficent, SerpentCS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSOCA Transbot, ahenriquez, oca-travis, OCA-git-bot, Khalid Hazam
WEBSITE
WEBSITEhttps://www.github.com/OCA/operating-unit
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - purchase_operating_unit
    - stock_operating_unit
    - operating_unit
OCA/purchase-workflow:
    - purchase_request
odoo/odoo:
    - purchase
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - purchase_stock
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
purchase_request_line_form purchase.request.line.form purchase.request.line field Inherits purchase_request.purchase_request_line_form
purchase_request_line_search purchase.request.line.search purchase.request.line field Inherits purchase_request.purchase_request_line_search
purchase_request_line_tree purchase.request.line.tree purchase.request.line field Inherits purchase_request.purchase_request_line_tree
view_purchase_request_form purchase.request.form purchase.request field Inherits purchase_request.view_purchase_request_form
view_purchase_request_line_make_purchase_order Purchase Request Line Make Purchase Order purchase.request.line.make.purchase.order field Inherits purchase_request.view_purchase_request_line_make_purchase_order
view_purchase_request_search purchase.request.list.select purchase.request group Inherits purchase_request.view_purchase_request_search
view_purchase_request_tree purchase.request.tree purchase.request field Inherits purchase_request.view_purchase_request_tree
Models touched (3)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=<expr> states={'to_approve': [('readonly', True)], 'approved': [('readonly', True)], 'done': [('readonly', True)]} string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    related='request_id.operating_unit_id' store=True string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True string='Operating Unit' args: 'operating.unit'
Public methods (1)
  • default_get(self, fields)
    @api.model
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_request_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, SerpentCS
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Eficent, SerpentCS
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA-git-bot
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - purchase_operating_unit
    - procurement_operating_unit
    - operating_unit
    - stock_operating_unit
    - account_operating_unit
    - analytic_operating_unit
OCA/purchase-workflow:
    - purchase_request
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_request_line_form purchase.request.line.form purchase.request.line field Inherits purchase_request.purchase_request_line_form
purchase_request_line_search purchase.request.line.search purchase.request.line field Inherits purchase_request.purchase_request_line_search
purchase_request_line_tree purchase.request.line.tree purchase.request.line field Inherits purchase_request.purchase_request_line_tree
view_purchase_request_form purchase.request.form purchase.request field Inherits purchase_request.view_purchase_request_form
view_purchase_request_search purchase.request.list.select purchase.request group Inherits purchase_request.view_purchase_request_search
view_purchase_request_tree purchase.request.tree purchase.request field Inherits purchase_request.view_purchase_request_tree
Models touched (2)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=<expr> string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True related='request_id.operating_unit_id' store=True string='Operating Unit' args: '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_request_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPurchase Management
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), EficentSerpent Consulting Services Pvt. Ltd.
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), EficentSerpent Consulting Services Pvt. Ltd.
COMMITTERS
COMMITTERSJordi Ballester Alomar, OCA-git-bot
WEBSITE
WEBSITEhttp://www.eficent.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/operating-unit:
    - purchase_operating_unit
    - procurement_operating_unit
    - operating_unit
    - stock_operating_unit
    - account_operating_unit
OCA/purchase-workflow:
    - purchase_request
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_request_line_form purchase.request.line.form purchase.request.line field Inherits purchase_request.purchase_request_line_form
purchase_request_line_search purchase.request.line.search purchase.request.line field Inherits purchase_request.purchase_request_line_search
purchase_request_line_tree purchase.request.line.tree purchase.request.line field Inherits purchase_request.purchase_request_line_tree
view_purchase_request_form purchase.request.form purchase.request field Inherits purchase_request.view_purchase_request_form
view_purchase_request_search purchase.request.list.select purchase.request group Inherits purchase_request.view_purchase_request_search
view_purchase_request_tree purchase.request.tree purchase.request field Inherits purchase_request.view_purchase_request_tree
Models touched (2)

New fields (1)
  • operating_unit_id Many2one → operating.unit
    default=<expr> string='Operating Unit' args: 'operating.unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    readonly=True related='request_id.operating_unit_id' store=True string='Operating Unit' args: '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_request_operating_unit (#640)