Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
20349 Переглядів

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 

 

Аватар
Відмінити
Найкраща відповідь

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

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

See Qweb reference

Аватар
Відмінити
Найкраща відповідь

Thanks for the help :)


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лист. 15
4516
0
січ. 25
3907
4
січ. 25
44699
0
жовт. 24
1538
0
жовт. 24
5