← Back to team overview

openerp-india team mailing list archive

[Bug 985619] Re: mrp.production consume&produce gives moves with quantity 0

 

Hello Milan,

I have double checked your Issue. But still I did not faced the problem.
That's why I have attached the screen-cast for your reference. would you
please check It and notify us where you have faced the problem.


Thanks and waiting for your reply!

** Attachment added: "mrp.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/985619/+attachment/3479082/+files/mrp.ogv

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
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/985619

Title:
  mrp.production consume&produce gives moves with quantity 0

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hi,

  In a mrp.production, when you produce&consume, in some cases, the
  stock.moves in the consumed products will have a quantity of 0.

  It seems to come from a rounding error (eg. a textual representation
  of 9 could be 8.9839847893 in memory).

  In openobject-addons/stock/stock.py in action_consume :

  quantity_rest -= quantity

  should be :

  quantity_rest = round(quantity_rest - quantity, 3)

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


References