Skip to content
Health
48/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 28 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
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_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.

Loading…

Loading…