Odoo Help


This community 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.


Qweb Report display calculated value

Shokri Alnajjar
on 1/26/15, 5:34 AM 2,731 views

In the old rml reports I was able to make arthmatic operations on the field (like multiplying 2 fields)

is this still possible in the new Qweb reports  ??

I want to show a value in the <td> that consists of multiplying 2 fields together 






| 5 4 7
Lodz, Poland

On 1/26/15, 6:57 AM

Yes, this is possible, use t-esc and try like this:

<td><span t-esc="o.ABC * o.XYZ"/></td>

See Qweb reference

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 1/26/15, 5:34 AM
Seen: 2731 times
Last updated: 5/26/15, 11:36 AM