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

Hi,

I need to format some calculated fields in the Cost Analysis Report of the mrp module.

These fields should have a precision of 5 digits and are calculated in the report.

Do you have tips ?

อวตาร
ละทิ้ง

in db structure there is decimal accuracy, look for the keys if you have anything works for you there. if not, you might need to alter the views/models.

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

try this

use this in q-web 

<span t-esc="'%.5f'%(field_name)" />
อวตาร
ละทิ้ง