This question has been flagged
1 Reply
1861 Views

how can i remove the delete-Right for all Users globally for Products and Sales-Orders?

i tried something like the following in a custom module but without success:

access_product_product,product.product,model_product_product,base.group_user,1,1,1,0
access_product_template,product.template,model_product_template,base.group_user,1,1,1,0


i do not knwo which groups currently allow the delete for the products and sales.orders


Avatar
Discard
Best Answer

Hi,

You can use this module available in the odoo apps store, which will limit the product deletion only to a particular group of users. The module is available from v9 to v12.


Module : https://apps.odoo.com/apps/modules/11.0/product_deletion/


By referring the code, you can do the same for the other models too if necessary.

Thanks

Avatar
Discard