Skip to Content
Menu
This question has been flagged
2 Replies
3814 Views

I need to make sure Sales, Project and Helpdesk users cannot see the list of Vendors. A simple way I thought was to filter out Vendors from the Contacts list, this since on the Apps they use there is not Vendors. Any simple way on how to do it?

Avatar
Discard
Best Answer

Hi,

if you want to filter out vendors from the contact list, you can give domain for the field which refers to res.partner, there is a field named supplier based on this you can give the domain.

sample,

vendor_id = fields.Many2one('res.partner', 'Vendor', domain="[('supplier','=',True)]")


Thanks

Avatar
Discard
Best Answer

Hi Miguel,

If you want to completely restrict access of contact of your vendors from Sales, Project and Helpdesk users then you can achieve this thing by record rule.

You can add rules to perticular group (Sales user, Project User, Helpdesk User) to restrict access from user. Here you have to create access rule with proper domain.

Thanks

Avatar
Discard