c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17695
[Bug 726296] [NEW] voucher currency-related issues
Public bug reported:
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.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: nan
--
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.
Follow ups
References