(POS) Restrict employees access in the POS.

by
Odoo
v 13.0 Third Party 1 183
Download for v 13.0 Deploy on Odoo.sh
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
LicenseLGPL-3
Versions 13.0 12.0 11.0
You bought this module and need support? Click here!
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
LicenseLGPL-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

Why Employees Level?

When you add the restricted access on the employees level, the manager will be able to login using his/her employee in the POS (The same POS session) and do the changes that can not be done by the normal employee. This scenario can be explained in the video below:

Why Users Level?

On the users level, the session will be fully locked on the access settings you gave to the user who opened the POS session and no one will be able to do the changes that require more access inside this session. This scenario can be explained in the video below:

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:

Contact Me

You can contact me at anytime if you have any idea or question.

Email: sayedahmedodoo@gmail.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
ask for order line deletion prevent access
by
ahmad
on 9/16/21, 7:35 AM

can i ask for order line deletion prevent access edit for this module please 


by
a7med.nor@gmail.com
on 12/21/20, 4:00 PM

ValueError: Invalid field 'pos_discount_access' on model 'hr.employee.public'


by
a7med.nor@gmail.com
on 12/21/20, 3:59 PM

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