openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11362
[Bug 938359] Re: [6.1] Stock action_consume function
[Expired for OpenERP Addons because there has been no activity for 60
days.]
** Changed in: openobject-addons
Status: Incomplete => Expired
--
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/938359
Title:
[6.1] Stock action_consume function
Status in OpenERP Addons (modules):
Expired
Bug description:
There is an annoying bug in this function, but also I think it is
written wrong. I don't know if correcting it will fix the bug but it
should be fixed anyway.
Basically quantity is a float field, however all the defaults in this
function create ints. What I am finding is that whenever a move is
created I am getting an extra move created for 0.000 which I assume is
rounding and float comparison. The old roundup argument which would
be a duplicate - so I am not reporting that particular bug again still
unresolved after over a year. But rather I forgot about that bug and
was looking at the function and it didn't quite seem right.
This purely relates to the action_consume function - just look at and
you will see. All zero values declared as ints not floats, despite
all quantity fields I can think of in OpenERP being floats.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/938359/+subscriptions
References