Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
20582 Представления

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
4716
0
янв. 25
4113
4
янв. 25
45343
0
окт. 24
1908
0
окт. 24
5