← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Thanks for the bug report.

The fix is available in trunk at revision 3633 (revision-id:
vmt@xxxxxxxxxxx-20110920132323-m9tjo3akasqlr0eg).

** Changed in: openobject-server
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to 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 Released

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