Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2406 Vizualizări

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" / >

Imagine profil
Abandonează

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 Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
nov. 24
20234
1
sept. 23
3050
3
mai 23
5652
7
apr. 23
49026
1
dec. 22
7877