Skip to Content
Menu
This question has been flagged
438 Views

Good day,

I know the most conventional way to do what I want is to have each point of sale be part of a separate company and the employees for that company aren't assigned to others but that doesn't work well with my use case. I need the Register to be all part of 1 company but only viewable to users that are assigned to that Point of Sale Register.

In my other odoo installations I've used Guillermo Joaquín Urquidi Campuzano (gjuc)'s ( I don't have enough karma to post a link ) guide to successfully hide Point of Sale Registers from employees who aren't assigned to that point of sale when they're logged in.

I assume this doesn't work for odoo 18 as you're no longer just assigning an employee to a POS Register but instead your assigning employees as either Basic Rights or Advanced Rights. What would I need to change this Domain Filter to in order for it to only show a Point of Sale to either a user with Basic Rights or Advanced Rights?

[('employee_ids.user_id.id','=',user.id)]

Thank you for the help!




Avatar
Discard