Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3056 Представления

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)" />
Аватар
Отменить