I have the following problem: I have an old order (in paper form on my desk, nothing in odoo yet). The order has already been shipped, therefore the current quantity on hand of the Product ordered is including the order shipped.
Now I have entered this quantity in odoo. If I now enter the order into odoo, mark it as paid + shipped, it generates a new stock movement. Now the qty is too low, because the product got substracted once offline on paper and once in odoo.
Is there a possibility to have all orders before a certain date add the product they ordered to the (now too low) stock, so it is correct again? Maybe someone could point me in the right direrction/has some python code for the server action?
Inventory (on paper) of Product is 100
The order 1 is created + shipped. The Inventory on Paper of the product is now 99
That was a few weeks ago, in the mean time I have setup odoo :)
While setting it up I entered 99 as the current qty_available
Now I enter the old order 1 into odoo, mark it as paid+shipped. Now the inventory in odoo is down to 98.
That's the point where a server action should start (on stock.picking done) and add the ordered product back to the stock. This way it is corretly shipped+stock moved, and the qty_available is correct.
Thanks for your help :)
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/5/16, 5:25 AM|
|Seen: 126 times|
|Last updated: 9/5/16, 9:02 AM|