Production: BOMs with two outputs are unusable
I am not able to do a production using a BOM with two outputs.
How to reproduce:
1. Install production module and its dependencies
2. Using 'Inventory & Stock/Configuration/Locations', check that warehouse have a production location assigned (see #2854 (closed))
3. Using Product/Products, create three products:
- Name: input, Type: Goods, List Price: 15, Cost Price: 5, Consumable: Yes, Default UOM: Unit, Cost Method: Fixed
- Name: output1, Type: Goods, List Price: 40, Cost Price: 10, Consumable:No, Default UOM: Unit, Cost Method: Fixed
- Name: output3, Type: Goods, List Price: 50, Cost Price: 15, Consumable:No, Default UOM: Unit, Cost Method: Fixed
4. Using Production/Configuration/BOMs, create a new 'testBOM' BOM:
- 'inputs': 'input' product, quantity 1
- 'outputs': 'output1' product (quantity 1) and 'output2' product (quantity 1)
5. Using Production/Productions, create a new production:
- Product: output1
- BOM: testBOM
- quantity: 1
6. Click on buttons 'Wait', 'Assign', 'Run' and 'Done'
The following error occurs: 'The costs of the outputs (10.00000) of production "1" do not match the cost of the production (5.0000).'
The attached scenario allows to reproduce.
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
scenario_bug.rst | @pilou_2 | 2014-08-27 13:12:17.274000 UTC | text/x-rst |