Odoo Help


This community 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.


How can I delete products made by myself?

Oriol Boan
on 4/23/13, 9:38 AM 1,450 views

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



| 4 4 8
Delhi, India
On 4/23/13, 10:11 AM

under tab procurements uncheck the active check box. This will hide your product. Whenever you want to see this product go to filter advanced -> active "is false"



| 3 2 6

Having 8+ years of OpenERP Experience. We are Specialized in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.

Skype : acespritech

Email : info@acespritech.com

On 4/24/13, 6:53 AM

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.
Mail: info@acespritech.com
Skype: acespritech



| 5 4 7
Baarn, Netherlands
On 4/23/13, 10:09 AM

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).

Oriol Boan
On 4/23/13, 11:33 AM

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.

Oriol, I have been able to create a product, do other things, than go to the product and delete it. I think that somehow it is referenced.Or you do not have the rights, as by default only managers of Sales, Purchase and Warehouse are allowed to delete products.

on 4/23/13, 12:56 PM
On 6/18/13, 8:14 AM

This was a bug as reported here - bugs.launchpad.net/openobject-addons/+bug/1098607

It has been fixed in newer versions.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 4/23/13, 9:38 AM
Seen: 1450 times
Last updated: 3/16/15, 8:10 AM