تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2410 أدوات العرض

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
نوفمبر 24
20234
1
سبتمبر 23
3050
3
مايو 23
5653
7
أبريل 23
49028
1
ديسمبر 22
7877