c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25340
[Bug 723662] Re: Unable to print 0.00 float value on a report
Hello,
Thanks for reporting.
It has been fixed in lp:~openerp-dev/openobject-server/trunk-bug-723662-ysa.
Revision No :- 3436
Revision ID : ysa@xxxxxxxxxxx-20110530110621-2bgxi79fyx6e9y0g and It will be merge soon
in trunk server.
Thanks,
** Changed in: openobject-server
Status: In Progress => Fix Committed
--
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
References