2014-06-03 17:57 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>: > 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] [1] http://hg.tryton.org/modules/production/file/3eea8c2eb0c7/production.py#l458 [2] http://hg.tryton.org/modules/currency/file/6daadb98a150/currency.py#l180 -- Guillem Barba http://www.guillem.alcarrer.net