Odoo Help


JasperReports won't evaluate null nor 0

on 2/21/13, 10:49 AM 920 views

I have a JasperReport report of the sales document. I want to print "inclusive" if the price of the detail line is zero. For that purpose I put a static text field and in the print when expression :


$F{Unit_Price-price_unit} is the unit price report field ( it prints fine on the detail lines).

If I do the reverse


the static text get printed on lines with a price != 0.

But in both cases the static text is never printed on the line where the price is zero.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 2/21/13, 10:49 AM
Seen: 920 times
Last updated: 3/16/15, 8:10 AM