Odoo Help

0

Qweb Report display calculated value

By
Shokri Alnajjar
on 1/26/15, 5:34 AM 3,767 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 

 

Thanks 

 

4

Zbik

--Zbik--
6263
| 6 4 7
Lodz, Poland
--Zbik--


Zbik
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

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.

Register

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

2 follower(s)

Stats

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