POS with Operating Units
pos_operating_unit · OCA/operating-unit
Health
48/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 28 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
6 models
6 views
0 HTTP endpoints
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…