I have stock move in 'Done' state, how can i change it's status to 'Draft' so i can delete related records ?
or How can i delete all moves and all products from command line ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I have stock move in 'Done' state, how can i change it's status to 'Draft' so i can delete related records ?
or How can i delete all moves and all products from command line ?
A lot has been done when stock.move is moved to Done state. So cancelling may not be a good idea. The proper way to 'cancel' the move is to create a return move.
Hi Ivan, thanks for answer however please not following points. 1. Once inventory validated then reverse move is not possible. 2. My motive is to delete inventory (products) which already validated so stock move is in 'done' state. Can you please guide me how can I perform point 2
No 1 is incorrect because you can still create a stock move with the same quantity with the Location and Destination Location swapped. That'll reverse the move albeit you need to do it manually. As for no 2, I'm not sure what is the ruling in your country, but in mine, it is punishable by law if you alter book by deleting records. Thus, I don't have the experience at all.
Hi Ivan, thanks for your time however its not issue with Law at my end, i just want to implement odoo for my company for that i have created a database and created lots of records i.e. customers, emails etc and configure many thingd i.e. emails, users, HR settings, accounting etc. However i have created products for purely test and check each flow, not that 'Moves' and Products are no longer required, and for that i want to delete all products and moves so i can import fresh products and stocks. Can you please help me on this?
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل