← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 723662] Re: Unable to print 0.00 float value on a report

 

** Branch linked: lp:~openerp-community/openobject-server/fix_6.0_723662

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

Title:
  Unable to print 0.00 float value on a report

Status in OpenERP Server:
  Fix Committed

Bug description:
  It is not possible to print float field with value "0.00" on a report,
  though the value eg. "1.00" would print just fine. Throws error that
  it is not possible to coerce value to the Unicode type.

  This problem is present on whole OpenERP 6.x branch and at least on
  OpenERP v5.0.15.

  The root of the problem lies in that there is a special field type
  class defined for automatic formatting purposes, and there is no
  "__repr__" method defined for the class.

  File name: report_sxw.py
  Class name: _float_format
  Line number: ~82

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/723662/+subscriptions


References