openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11655
[Bug 938359] Re: [6.1] Stock action_consume function
Hello Greame,
I have checked this issue again, At my end it will never creates the problem.
We are used the int value at all function for quantity comparison.
Please check do_partial as well as action_split at there we have also
used the int (0) instead of 0.00 also on there function condition used
for the quantity. And there functions are working good.
So we can not consider this as a bug, If you still faced the problem
then you can reopen this issue with proper usecase means in which case
you have faced hte problem (with proper steps).
Thanks for understanding!
** Changed in: openobject-addons
Status: New => Invalid
--
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):
Invalid
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