Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2204 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
11934
2
Jan 24
2348
2
Mar 15
7144
5
Agu 24
15490
1
Mar 15
4323