Scheduler created PO's affects virtual stock
Bug #921866 reported by
Kyle Waid
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 3 |
Bug Description
I have min/max rules setup. When the scheduler runs nightly it auto-generates purchase orders. It generates them correctly. They are in quotation state.
The problem is that they affect virtual stock. If I have 5 parts left in stock. A minimum rule of 10. It creates a purchase order for 5 in quotation. Now it says I have 10 in virtual stock, but this is not right. It should never ever effect virtual stock unless it is confirmed. A quotation has no value.
Does it do this behavior intentionally to avoid creating the same purchase order again the next night? If so thats a bad work around.
Related branches
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
status: | In Progress → Confirmed |
To post a comment you must log in.
Hello Kyle Waid,
I agreed with you ,that when the Purchase Order is In "quotation" state at that time virtual stock not affect. It is affect after confirm the order.
But When the Purchase Order created by the Scheduler at that time Virtual Stock affect base on Min - Max Rules setup. So Scheduler can not wait for the confirmation of order. Because we need to run the scheduler when we must get the stock.
Correct me If I am wrong!
Thanks and Waiting For your Reply!