Tryton - Issues



Title production: calculated quantities are wrong in some cases
Priority bug Status chatting
Superseder Nosy List ced, rmu
Type behavior Components production
Assigned To rmu Keywords

Created on 2013-01-17.19:36:19 by rmu, last changed by ced.

msg12332 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2013-01-18.10:22:51
Please use the syntax: review640002
msg12331 (view) Author: [hidden] (rmu) Date: 2013-01-18.10:13:46
msg12327 (view) Author: [hidden] (rmu) Date: 2013-01-17.19:36:18
given this situation in tryton 2.6 with production module:

A / Unit
B / m²
C / Unit

1u A -> 10m² B
1m² B -> 1u A

BOM tree for 1u C shows 1u C is produced from 1m² B which is produced from 0u A.

If this production is executed, 0u of A are used to produce 1m² of B which is 
used to produce 1u of C.

Expected behaviour: 1u A should be used to produce 10m² B, and 1m² of those 
should be used to produce 1u of C.

Seems to be a rounding issue (in fact if I produce 10u of C everything works 
out) - I think the relation of input quantities to output quantities on a 
production should always be like in the BOM.

In this case, product A can only be consumed in complete units (unit UOM is 
rounded to 1.0, with no digits to show), and this always yields 10m² of B.
Date User Action Args
2013-01-18 10:22:51cedsetnosy: + ced
messages: + msg12332
2013-01-18 10:13:47rmusetstatus: unread -> chatting
assignedto: rmu
messages: + msg12331
2013-01-17 19:39:22rmusettitle: production: calculated are wrong in some cases -> production: calculated quantities are wrong in some cases
2013-01-17 19:36:19rmucreate

Showing 10 items. Show all history (warning: this could be VERY long)