Ubuntu 12.04
OpenERP Version 7.0-20130726-231403
Steps to reporuce the issue -
New Instance
Add two internal locations under 'Physical Locations / Your Company / Stock' with defaults Physical Locations / Your Company / Stock / Finished Goods Physical Locations / Your Company / Stock / Raw Materials
Add a stock-able product A with the parameters below - Procurement Method: Make to Stock Supply Method: Manufacture Push Flow: from stock to Finished Goods, Automatic No Step Added
Add another stock-able product B with the parameters below - Procurement Method: Make to Stock Supply Method: buy Push Flow: from stock to Raw Materials, Automatic No Step Added
Define a bom A:B = 1:1
Enter and confirm a sales order of 100psc of A product and then run the scheduler.
A manufacturing order and a purchase order were generated.
Receive the purchase order of B products into warehouse
B product's stock by location looks like this -
Physical Locations / Your Company / Stock: 100 Physical Locations / Your Company / Stock / Raw Materials: 200 Partner Location / Suppliers: -100
Produce A to finish the MO
A product's stock by location looks like this -
Physical Locations / Your Company / Stock: 100 Physical Locations / Your Company / Stock / Finished Goods: 200 Virtual Location / Production: - 100
While checking A product's stock moves, we found two moves Virtual Location / Production --> Physical Locations / Your Company / Stock / Finished Goods: 100 Physical Locations / Your Company / Stock --> Physical Locations / Your Company / Stock / Finished Goods: 100
It's obvious that the 2nd move is unnecessary.