I have the decimal precision in Price to five 0. The problem is that in Sales Orders is so ugly to see 5 zero because we only use max. 2. Is there any widget or code to put in the reports to say that in the uni price and total price only two 0 as decimal?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
3213
มุมมอง
itharappa
Am I able to change the dot for a coma?
please check this,
<span t-esc="str('%.2f'%obj.field_name).replace('.', ',')"/>
On reports you can set:
<t t-esc="'%.2f' % (o.amount)"/>
for example, if o is the object and amount the field
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
Merge Same Item in Sale Order Line
แก้ไขแล้ว
|
|
2
ม.ค. 24
|
5914 | |
|
0
มิ.ย. 23
|
2431 | ||
|
1
ธ.ค. 22
|
3812 | ||
|
0
เม.ย. 22
|
2926 | ||
|
1
เม.ย. 19
|
6603 |