← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 726296] Re: voucher currency-related issues

 

Hello Albert Cervera,

Its fix in lp:~openerp-dev/openobject-addons/trunk-bug-726296-ara branch. It will be merge soon with trunk addons.
Thanks for contribution.

Revision ID: ara@xxxxxxxxxxx-20110317093822-bqy4n8sm0qorx82n
Revision No: 4547

Thanks,
ara


** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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