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

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)" />
الصورة الرمزية
إهمال