Skip to Content
Menu
This question has been flagged
3 Replies
3957 Views

I would like to remove a permission of creating a new customer from Sales User (Own Documents) and Sales User (All Documents). Only Sales Manager are allowed to create a new customer.

I saw a similar post to do on the Products (https://www.odoo.com/forum/help-1/question/how-to-block-some-users-from-create-new-products-and-update-the-product-details-78821).  It won't allow me to change the CRUD actions. 

But I don't know what object or user group to change the customers/res_partner.


Avatar
Discard
Best Answer

In the mentioned groups form view, you can set the access rights for each model in the corresponding tab. You just need to untick "Create" for the partner model (res.partner).

You should also note that even if you disable contact creation for this group and the user is in another group Wich allows it (like "Contact creation"), he will still be able to create partners. So you have to check others groups too.

Avatar
Discard
Author

yes. It worked.

In Access Controls List, search "partner". Then on the "res.partner.crm.user" with Object:Partner and Sales/user: Own Documents Only, I unchecked the write and create access.

Best Answer

Hi,

Actually, the  Sales User (Own Documents) and Sales User (All Documents) does not have the permission to create the customer. Actually, the create permission for the Sales User (Own Documents) and Sales User (All Documents) is coming as you may have ticked the contact creation option in the users form view.

So just untick the option of contact creation from the users form view and see.




Thank you

Avatar
Discard
Author

I tried it and it did not work.