POS with Operating Units

pos_operating_unit
REPOSITORY
REPOSITORYOCA/operating-unit
GIT
GIThttps://github.com/OCA/operating-unit.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/operating-unit/tree/17.0/pos_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPoint of sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ilyas, Ooops404
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ilyas, Ooops404
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, 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:
    - operating_unit
odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - onboarding
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a field "operating unit" in POS with the only goal of
restricting visibility (therefore access) to users with same OU allowed.

This also applies to sessions, orders and payments in POS.

A "Point of sale" field is added to orders and payments for clarity.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
pos_config_view_form_inherit_ou pos.config.form.inherit.ou pos.config xpath Inherits point_of_sale.pos_config_view_form
res_config_settings_view_form res.config.settings.view.form.inherit.point_of_sale res.config.settings block Inherits point_of_sale.res_config_settings_view_form
view_pos_order_tree_inherit_ou pos.order.tree.inherit.ou pos.order field Inherits point_of_sale.view_pos_order_tree
view_pos_payment_form_inherit_ou pos.payment.form.inherit.ou pos.payment field Inherits point_of_sale.view_pos_payment_form
view_pos_payment_tree_inherit_ou pos.payment.tree.inherit.ou pos.payment field Inherits point_of_sale.view_pos_payment_tree
view_pos_pos_form_inherit_ou pos.order.form.inherit.ou pos.order field Inherits point_of_sale.view_pos_pos_form
Models touched (6)

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_config_operating_unit_rel'
Public methods (0)

No public methods.

New fields (2)
  • config_id Many2one
    readonly=True related='session_id.config_id'
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_order_operating_unit_rel'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_order_line_operating_unit_rel'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (2)
  • config_id Many2one
    readonly=True related='session_id.config_id'
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_payment_operating_unit_rel'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_session_operating_unit_rel'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (1)
  • pos_operating_unit_ids Many2many
    readonly=False related='pos_config_id.operating_unit_ids'
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/pos_operating_unit
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPoint of sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Ilyas, Ooops404
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Ilyas, Ooops404
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ilyas
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:
    - operating_unit
odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
pos_config_view_form_inherit_ou pos.config.form.inherit.ou pos.config xpath Inherits point_of_sale.pos_config_view_form
view_pos_order_tree_inherit_ou pos.order.tree.inherit.ou pos.order field Inherits point_of_sale.view_pos_order_tree
view_pos_payment_form_inherit_ou pos.payment.form.inherit.ou pos.payment field Inherits point_of_sale.view_pos_payment_form
view_pos_payment_tree_inherit_ou pos.payment.tree.inherit.ou pos.payment field Inherits point_of_sale.view_pos_payment_tree
view_pos_pos_form_inherit_ou pos.order.form.inherit.ou pos.order field Inherits point_of_sale.view_pos_pos_form
Models touched (5)

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_config_operating_unit_rel'
Public methods (0)

No public methods.

New fields (2)
  • config_id Many2one
    readonly=True related='session_id.config_id'
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_order_operating_unit_rel'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_order_line_operating_unit_rel'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (2)
  • config_id Many2one
    readonly=True related='session_id.config_id'
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_payment_operating_unit_rel'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (1)
  • operating_unit_ids Many2many → operating.unit
    string='Operating Units' args: 'operating.unit', 'pos_session_operating_unit_rel'
Public methods (1)
  • create(self, vals)
    @api.model