[6.1][mrp_subproduct] module doesn't compare the UOM of production vs UOM of sub product

Bug #1047680 reported by Rodolfo Lopez
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Low
OpenERP Publisher's Warranty Team

Bug Description

1.-mrp_subproduct module doesn't compare the UOM of production vs UOM of sub product to do the conversion of the corresponding factor.

Production of Product: [SHE100] Estante de 100cm . quantity: 1.000 UOM: unidad
after confirmed production:
finished product pulled of subproduct: [WOOD002] Madera 2mm. quantity: .003 UOM: unidad

after changing UOM of production : unidad to Dozen(x 12 unidad)
Production of Product: [SHE100] Estante de 100cm . quantity: 1.000 UOM: Dozen
after confirmed production:

2.- The result you observed
finished product pulled of subproduct: [WOOD002] Madera 2mm. quantity: 003 UOM: unidad

3.-The result you expected
finished product pulled of subproduct: [WOOD002] Madera 2mm. quantity: .036 UOM: unidad

4.-The platform your are using
Ubuntu. 12.04, Python 2.7.2+
openerp- addons :6979
openerp- server : 4265

NOTE: Attached VIDEO with Explain.
Also in: http://youtu.be/zVKI3C3SK_s

Tags: maintenance

Related branches

Revision history for this message
Rodolfo Lopez (el-rodo-1) wrote :
description: updated
description: updated
summary: - mrp_subproduct module doesn't compare the UOM of production vs UOM of
- sub product
+ [6.1][mrp_subproduct] module doesn't compare the UOM of production vs
+ UOM of sub product
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ravi Gohil (OpenERP) (rgo-openerp) wrote :

This issue has been fixed in,
Branch: lp:~openerp-dev/openobject-addons/6.1-opw-579042-rgo,
Rev-id: <email address hidden>,
Rev-no: 6986

Fix will soon be reviewed and merged with main stable branch.

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Rodolfo Lopez (el-rodo-1) wrote :

Thanks Ravil, but the error persists:
I tested changing 1 KG by 1000 GR and instead of convert and pull its equivalent, just multiply the amount

Revision history for this message
Ravi Gohil (OpenERP) (rgo-openerp) wrote :

Hello Rodolfo Lopez,

>I tested changing 1 KG by 1000 GR and instead of convert and pull its equivalent, just multiply the amount

It is possible to have different UoMs for BoM product, subproduct and in manufacturing order, so in that case we need conversion of qty with respect to UoM rather than just multiplying the qty.

For ex,
For a BoM product, UoM is in Kg and UoM for subproduct is in Gm and we manufacture the product in Tonne.

However, previous fix had a small mistake, I just update the branch with the modification.

Thanks.

Revision history for this message
Aravindh (aravindh-openerp) wrote :

Am Using OpenERP 6.1-1

While Creating New Manufacturing Order reference & schedule value is wrong .
This problem occurs Only in web client not in GTK Client

For Example
Creating New Manufacturing Order
1. Reference : MO00014
2. Schedule Date : 12/09/2012 18:00:00

But in web client it displays
1. Reference : MO00014
2. Schedule Date : 12/09/2012 23:00:00 (+5 hrs)

Changed in openobject-addons:
status: Fix Committed → Invalid
Changed in openobject-addons:
status: Invalid → Fix Committed
Revision history for this message
Rodolfo Lopez (el-rodo-1) wrote :

add video where problemremains

http://youtu.be/IQcoUGpVgwk

Revision history for this message
Rodolfo Lopez (el-rodo-1) wrote :

add video with posible solution

http://youtu.be/FmHmFug9fYE

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.