Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
20357 Widoki

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 

 

Awatar
Odrzuć
Najlepsza odpowiedź

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

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

See Qweb reference

Awatar
Odrzuć
Najlepsza odpowiedź

Thanks for the help :)


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lis 15
4521
0
sty 25
3909
4
sty 25
44734
0
paź 24
1558
0
paź 24
5