DEV Community

Rahat Ali
Rahat Ali

Posted on

Restrict Cashiers from accessing "Orders" button in POS Navbar (Odoo 17)

Hi All,

I hope everyone is doing well.

In Odoo 17 POS, there is a menu in the top-right navbar (three-dash/burger menu) where we have options like:

Orders

Cash In/Out

Hide Product Images

Hide Category Images

Backend

Close Session

Debug Window

I want to restrict Cashiers from accessing the "Orders" button.

Instead of opening the Orders screen, I would like to show an error message (popup) when a cashier clicks on it.

Has anyone implemented this restriction in Odoo 17?
Any guidance or example code would be greatly appreciated.

Thanks,
Rahat Ali

Top comments (0)