تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2003 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
11486
2
يناير 24
2077
2
مارس 15
6823
5
أغسطس 24
15221
1
مارس 15
4131