Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Employees (hr)
• Point of Sale (point_of_sale) • Discuss (mail) • Inventory (stock) • Invoicing (account) |
Lines of code | 222 |
Technical Name |
pos_prevent_access |
License | LGPL-3 |
Versions | 13.0 12.0 11.0 |
Community and Enterprise
POS Restrict Access
Concept and Business Scenario
In normal business scenario, the point of sale employee should not be able to change the price of the retail products while the manager should be the only one who can do that. So, we need to think of a way that will stop your employee from changing the price of the products and allow only the manager.
Why this module?
This module will allow you to add a restricted access to the POS on two levels which will solve the above business case:
- Employees Level
- Users Level
Functionality and Settings
Settings:
- Make the module works on the Users Level or Employees Level.
By default it is working on Employees Level which is the best scenario.
Functions List:
- â Enable/Disable Price Button.
- â Enable/Disable Discount Button.
- â Enable/Disable Negative/Positive Button.
Change access for the employees level:
Change access for the users level:
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
ask for order line deletion prevent access
can i ask for order line deletion prevent access edit for this module please
ValueError: Invalid field 'pos_discount_access' on model 'hr.employee.public'
w
File "/usr/lib/python3/dist-packages/odoo/models.py", line 5165, in <listcomp>
vals = [func(rec) for rec in self]
File "/usr/lib/python3/dist-packages/odoo/models.py", line 5610, in __getitem__
return self._fields[key].__get__(self, type(self))
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1003, in __get__
recs._fetch_field(self)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2944, in _fetch_field
self._read(fnames)
File "/usr/lib/python3/dist-packages/odoo/addons/hr/models/hr_employee.py", line 133, in _read
res = self.env['hr.employee.public'].browse(self.ids).read(fields)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2893, in read
raise ValueError("Invalid field %r on model %r" % (name, self._name))
ValueError: Invalid field 'pos_discount_access' on model 'hr.employee.public'
2020-12-21 20:55:57,217 609 INFO Maraya-2020 werkzeug: 127.0.0.1 - - [21/Dec/2020 20:55:57] "POST /web/dataset/call_kw/pos.config/search_read HTTP/1.1" 200 - 39 0.021 0.043
2020-12-21 20:55:58,950 609 INFO Maraya-2020