跳至內容
選單
此問題已被標幟
2 回覆
3048 瀏覽次數

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)" />
頭像
捨棄