mrp_subproduct bad calculation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I test mrp_subproduct module and I see in code an error on subproduct product_qty and product_uos_qty calculation: i.e:
Source:
qty1 = sub_product.
qty2 = production.
if sub_product.
if production.
qty1 *= production.
if production.
qty2 *= production.
If subproduct_type is variable and subproduct_qty is 2 and production_qty = 50, result on subproduct_qty is 50 (2 *= 50 / 2) but real result will be 100. In product_uos_qty tghe result is more poor yet. I attached one patch.
If subproduct type is fixed and subproduct.
Related branches
Changed in openobject-addons: | |
status: | New → Confirmed |
Thank you for reporting.
It has been fixed by revision 2428 <email address hidden>.