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 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 ?
try this
use this in q-web
<span t-esc="'%.5f'%(field_name)" />
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
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.