c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17696
[Bug 726296] Re: voucher currency-related issues
** Attachment added: "account_voucher.py.diff"
https://bugs.launchpad.net/bugs/726296/+attachment/1875669/+files/account_voucher.py.diff
--
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):
New
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