c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #19532
[Bug 726296] Re: voucher currency-related issues
** Changed in: openobject-addons
Milestone: None => 6.1
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/726296
Title:
voucher currency-related issues
Status in OpenERP Modules (addons):
Fix Committed
Bug description:
Processing a voucher which has currency_id field set to NULL will
crash. This is reasonable but what should happen in the first place is
that currency_id should be a required field.
Also, at one point the module uses "==" comparison to compare two
float values instead of res.currency's is_zero() function.
The attached patch fixes both issues.
References