Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
5796 มุมมอง

By default the display is set to "1,000" for a quantity.

I want to change it to "1" because I think it's more pretty.

How can i do it?

อวตาร
ละทิ้ง

Please Do not use TAGS which is having no Meaning and DO not create meaningless TAGs. Here what is ooo?

Please do not dig up a 2-years old topic to say this

คำตอบที่ดีที่สุด

Hi,

remove the decimal precision from rml (digits=get_digits(dp='UoS'))

if it not works just convert integer like [[  int(o.quantity) ]]

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks. But where can you find rml (digits=get_digits(dp='UoS')) ?

Or [[  int(o.quantity) ]] ?

อวตาร
ละทิ้ง

Odoo for engineers:)

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
เม.ย. 15
4781
5
ธ.ค. 24
33378
0
ธ.ค. 21
2042
1
ธ.ค. 17
2663
0
พ.ค. 17
3167