Point of Sale - Restrict users
pos_user_restriction · OCA/pos
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 6 Odoo series since 12.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
3 models
1 view
0 HTTP endpoints
Description
Restrict some users to only access their assigned points of sale.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idsMany2many → res.usershelp="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_idMany2one → res.groupscompute='_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=Truestring='Point of Sale User Group' args: 'res.groups'
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…