Skip to Content
Menú
This question has been flagged
2 Respostes
2421 Vistes

Remove the excess 0 of quantity and amount, namely

 

A = 12.12300 # the result requirement is 12.123

B = 12.00 # the result requirement is 12

C = 200.12000 # the result requirement is 200.12

D = 200.0 # the result requirement is 200

As follows, how is this implemented in the report

< span t - field = "order_line. Product_qty" / >

Avatar
Descartar

Hi,

Can you try like this,

<t t-set = "product_qty" t-value="order_line. Product_qty /1"/ >

< t t-esc = "product_qty" / >

Autor

0

Avatar

gavinguo

On 12/28/18, 3:22 AM

Your method fails to meet the requirements. For example, 425.000 becomes 425.0

Autor Best Answer

Your method fails to meet the requirements. For example, 425.000 becomes 425.0

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de nov. 24
20240
1
de set. 23
3053
3
de maig 23
5657
7
d’abr. 23
49036
1
de des. 22
7880