c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17254
[Bug 723662] [NEW] Unable to print 0.00 float value on a report
Public bug reported:
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
** Affects: openobject-server
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Vo Minh Thu (OpenERP), 2011-09-20
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Launchpad Bug Tracker, 2011-06-21
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Yogesh(Open ERP), 2011-05-30
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Launchpad Bug Tracker, 2011-05-30
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Yogesh(Open ERP), 2011-05-30
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Azazahmed Saiyed (OpenERP), 2011-02-24
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Kinly, 2011-02-24
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Lorenzo Battistini - agilebg.com, 2011-02-23
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: sraps (Alistek), 2011-02-23
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Jay Vora (OpenERP), 2011-02-23
-
[Bug 723662] Re: Unable to print 0.00 float value on a report
From: Azazahmed Saiyed (OpenERP), 2011-02-23
-
[Bug 723662] [NEW] Unable to print 0.00 float value on a report
From: sraps (Alistek), 2011-02-23
References