Skip to Content
Menu
This question has been flagged
1 Reply
1759 Views

Hello!

We're having some issues with regards to deleting products and their variants directly from our site. Our website currently runs on the Odoo version 16 and we were preparing the 17 version in the staging branch phase.


The product database was connected poorly in the beginning (the version 16 one) and we would require a wipe, including removing the restrictions that come along with deleting products (stock.move, etc.), but we would not like to lose the visual modifications we've made to the website, the one in the staging branch phase.


I've contacted Odoo support and they've recommended either paying for their technical support (which we would like to use as a last resort) or starting from scratch (which is also not an optimal choice for us).


So in short, the databases were set up poorly, work has been done and sales made, but we would like to wipe the databases clean on the site we have in the staging branch.


What would you recommend would be the optimal choice for us to proceed?

Thank you for all your help

Avatar
Discard
Best Answer

Hi,

If you have created any sale orders or other records using the product you are trying to delete, it will not be possible and will show a constraint error. To delete the product, you need to first delete all related records associated with that product. This process can be risky as it may affect your accounting or stock data. Instead of deleting the product, consider archiving it using the action button.


Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
10861
2
Jan 24
1844
2
Mar 15
6583
5
Aug 24
15010
1
Mar 15
3878