跳至內容
選單
此問題已被標幟
2 回覆
2433 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
11月 24
20268
1
9月 23
3089
3
5月 23
5683
7
4月 23
49063
1
12月 22
7901