Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
20596 Visualizações

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 

 

Avatar
Cancelar
Melhor resposta

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

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

See Qweb reference

Avatar
Cancelar
Melhor resposta

Thanks for the help :)


Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
nov. 15
4716
0
jan. 25
4115
4
jan. 25
45372
0
out. 24
1912
0
out. 24
5