콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
20360 화면

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 :)


아바타
취소
관련 게시물 답글 화면 활동
0
11월 15
4522
0
1월 25
3910
4
1월 25
44740
0
10월 24
1565
0
10월 24
5