Skip to Content
Menu
This question has been flagged
1 Reply
2529 Views

Hello,

Is there way to restrict product permission to each user? I would like to give the product permission to user but don't want to access all products. We want user to see only products that we allowed.

Please help me how to restrict this permission.

Thanks

Avatar
Discard
Best Answer

You can add a field to product model like:
user_ids = fields.Many2many('res.users', 'Users Have Access')

the override read the tree and the form read domains based on users who have access to the product.

Avatar
Discard
Related Posts Replies Views Activity
1
Sep 22
2052
3
Aug 24
3365
3
Aug 23
2475
1
Oct 22
2122
2
Aug 22
1318