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

Since I am new to Odoo and clueless, I have created a dreadful mess while trying to undo the PO that posted to current date rather than transaction date. Fortunately it's only one PO and subsequent inventory records. 

Is there a way as admin to clean up the mess, delete the transactions, pour bleach over them? Or, do I have to ask the powers-that-be to re-create my database? I am on monthly subscription or "Standard" so can't do that myself

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

The database is super fresh, very little in it. Eradicating it and starting over is probably the most time effective solution, however, I like your suggestion of running a query. Would be great practice and there is nothing to lose.

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

Hi,
If you need to clean up the entire db, using the server action, you can run a query and clear the data from all the db tables and reset the sequence values to 1.

You can get the model details from here:  https://github.com/odoomates/odooapps/blob/17.0/om_data_remove/models/model.py

Other option is if the db is very fresh and it not much configurations are done, you can drop the current db and start using a fresh one.


Thanks

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 20
10029
2
أبريل 24
1879
2
يونيو 23
4391
1
يناير 23
1928
0
مارس 15
4838