Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi, I've noticed I can not delete products I created, but I can remove products created by other users. I have all maximum access rights activated. The message is after trying to delete: "Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Message, Operation: unlink)"
Is there a solution, workaround or wathever, or is an unresolved bug? thanks
If all the access rights are there and still if you can not delete products then there might be reference with other object like Sales, Purchase, Warehouse, Invoice, etc.
We have to remove all references in sequence first.
Acespritech Solutions Pvt. Ltd.
You probably get these error messages when you want to delete a product which has been used in an order (either purchase or sale).
Technically you can delete these products when you go to the database itself (postgreSQL) and remove it from the database using commands on the database itself.
An option might be, that you untick the options 'Can be Sold' and 'Can be bought', so they do not appear anymore on your list of products.
Given your message you have all rights, check Settings -> Security -> Access Controls List, and search for product. Make sure at least one of your roles has the right to delete it.
I did create a product, did other things and then tried to delete the product. I had no issues (as admin).
Thanks for your answers. My point was why I can delete products with any other user (with the right access rights) but I can not if I login with the user used to create them. The products are just created minutes ago, for testing, and the don't belong to any order. I know I can delete them with SQL, and make them not visible unticking the Can be sold/purchased checkboxes, but that is not needed if I login as a user who didn't create the the products. I'll be wainting others opinions or anwers about this issue. Thanks.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/23/13, 9:38 AM|
|Seen: 2177 times|
|Last updated: 3/16/15, 8:10 AM|