TIP: You can type at any time to perform a new search.
POS with Operating Units
pos_operating_unit · OCA/operating-unit
- Repository
- OCA/operating-unit · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Point of sale
- Folder size
- 0.05 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/operating-unit
- Last tracking update
- 2026-08-07 08:23:02
- Authors
- Odoo Community Association (OCA), Ooops404, Ilyas
- Maintainers
- Odoo Community Association (OCA), Ooops404, Ilyas
- Committers
- Weblate, OCA-git-bot, oca-ci, Jérémy Didderen
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
pos_config_view_form_inherit_ou |
pos.config.form.inherit.ou | pos.config | form | 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 | form | Inherits point_of_sale.res_config_settings_view_form |
view_pos_order_tree_inherit_ou |
pos.order.tree.inherit.ou | pos.order | tree | Inherits point_of_sale.view_pos_order_tree |
view_pos_payment_form_inherit_ou |
pos.payment.form.inherit.ou | pos.payment | form | Inherits point_of_sale.view_pos_payment_form |
view_pos_payment_tree_inherit_ou |
pos.payment.tree.inherit.ou | pos.payment | tree | Inherits point_of_sale.view_pos_payment_tree |
view_pos_pos_form_inherit_ou |
pos.order.form.inherit.ou | pos.order | form | Inherits point_of_sale.view_pos_pos_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (6)
New fields (1)
-
operating_unit_idsMany2many → operating.unitstring='Operating Units' args: 'operating.unit', 'pos_config_operating_unit_rel'
No public methods.
New fields (2)
-
config_idMany2onereadonly=Truerelated='session_id.config_id' -
operating_unit_idsMany2many → operating.unitstring='Operating Units' args: 'operating.unit', 'pos_order_operating_unit_rel'
-
create(self, vals_list)@api.model_create_multi
New fields (1)
-
operating_unit_idsMany2many → operating.unitstring='Operating Units' args: 'operating.unit', 'pos_order_line_operating_unit_rel'
-
create(self, vals_list)@api.model_create_multi
New fields (2)
-
config_idMany2onereadonly=Truerelated='session_id.config_id' -
operating_unit_idsMany2many → operating.unitstring='Operating Units' args: 'operating.unit', 'pos_payment_operating_unit_rel'
-
create(self, vals_list)@api.model_create_multi
New fields (1)
-
operating_unit_idsMany2many → operating.unitstring='Operating Units' args: 'operating.unit', 'pos_session_operating_unit_rel'
-
create(self, vals_list)@api.model_create_multi
New fields (1)
-
pos_operating_unit_idsMany2manyreadonly=Falserelated='pos_config_id.operating_unit_ids'
No public methods.
Loading…