On 04 Jun 09:45, Guillem Barba Domingo wrote: > 2014-06-03 17:57 GMT+02:00 Cédric Krier <[email protected]>: > > > Hi, > > > > I would like to have more eyes on this issue and his resolution: > > https://bugs.tryton.org/issue3965 > > > > Thanks, > > > > The solution is good to me. > > A very similar issue exists in the "check_cost()" method of production > module [1] > I think, the operator "<=" shoud be set instead of "<" in the "is_zero()" > function of currency [2]
Thanks for the pointer, indeed in my patches I should use «<» because having a remainder equals to the rounding means something goes wrong. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpzloQSYB33v.pgp
Description: PGP signature
