← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

I am confirming the issue for other report engines apart from rml of
reportlab.

Thanks.

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

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

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

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

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



References