Repository
OCA/pos · 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/pos
Last tracking update
2026-08-07 08:42:55
Authors
Odoo Community Association (OCA), TAKOBI
Maintainers
Odoo Community Association (OCA), TAKOBI
Committers
Weblate, OCA-git-bot, oca-ci, christian-ramos-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Restrict some users to only access their assigned points of sale.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
pos_config_view_form_users pos_config_view_form_users pos.config form Inherits point_of_sale.pos_config_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (2)
  • assigned_user_ids Many2many → res.users
    help="Restrict some users to only access their assigned points of sale.In order to apply the restriction, the user needs the 'User: Assigned POS Only' group" string='Assigned users' args: 'res.users'
  • group_pos_user_id Many2one → res.groups
    compute='_compute_group_pos_user_id' help='This field is there to passthe id of the pos user group to the point of sale client.' store=True string='Point of Sale User Group' args: 'res.groups'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_closing_control_data(self)

New fields (0)

No new fields.

Public methods (1)
  • has_group(self, group_ext_id: str) -> bool
    @api.readonly

Loading…

Loading…

Loading…

Loading…

Loading…