production: calculated quantities are wrong in some cases
given this situation in tryton 2.6 with production module:
Products:
A / Unit
B / m²
C / Unit
BOMs:
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.