← Back to team overview

openerp-india team mailing list archive

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

 

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.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1047680

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

Status in OpenERP Addons (modules):
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1047680/+subscriptions


References