Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
20336 Vizualizări

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 

 

Imagine profil
Abandonează
Cel mai bun răspuns

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

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

See Qweb reference

Imagine profil
Abandonează
Cel mai bun răspuns

Thanks for the help :)


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
nov. 15
4515
0
ian. 25
3906
4
ian. 25
44694
0
oct. 24
1527
0
oct. 24
5