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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Good !!
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
0
11月 15
|
5047 | |||
|
0
1月 25
|
4430 | |||
|
4
1月 25
|
46206 | |||
|
0
10月 24
|
2366 | |||
|
0
10月 24
|
5 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.