← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 726296] Re: voucher currency-related issues

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
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):
  Confirmed

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