Tuesday, January 15, 2013

How to display 0.00 insted of null in ireport



Just send the value from openERP to ireport as string.

for example in python code ( I mean parser function)

...

record['fieldname'] = double if double else "0.00"


or in ireport you can use this expression instance of double field

($F{field}!=null) ? $F{field} : "0.00"

credit : http://forum.openerp.com/forum/topic29491.html

No comments:

Post a Comment