Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2431 Переглядів

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

Аватар
Відмінити

Hi,

Can you try like this,

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

< t t-esc = "product_qty" / >

Автор

0

Avatar

gavinguo

On 12/28/18, 3:22 AM

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

Автор Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лист. 24
20263
1
вер. 23
3086
3
трав. 23
5680
7
квіт. 23
49060
1
груд. 22
7900