diff --git a/templates/operation_templates_page.xml b/templates/operation_templates_page.xml index 370a0cf797e619031c706fbcb35fb442e83d7da2..af592914db7e10a37681a7324a7ad8a9b4a005c4 100644 --- a/templates/operation_templates_page.xml +++ b/templates/operation_templates_page.xml @@ -451,7 +451,7 @@ <tr class="fw-bolder bg-light"> <td class="text-uppercase">Surplus</td> <td class="text-end text-nowrap"><t - t-esc="('%.0f' % tSurplus['surplus'])" + t-esc="('%.2f' % tSurplus['surplus']).replace('.', ',')" /> kWh</td> <td class="text-end text-nowrap"><t t-esc="('%.1f' % tSurplus['percentage']).replace('.', ',')" @@ -466,7 +466,7 @@ > <td><t t-esc="tPartner['name']" /></td> <td class="text-end text-nowrap"><t - t-esc="('%.0f' % tPartner['autocons'])" + t-esc="('%.2f' % tPartner['autocons']).replace('.', ',')" /> kWh</td> <td class="text-end text-nowrap"><t t-esc="('%.1f' % tPartner['percentage']).replace('.', ',')" @@ -491,7 +491,7 @@ /> </td> <td class="text-end text-nowrap"><t - t-esc="('%.0f' % tCounter['autocons'])" + t-esc="('%.2f' % tCounter['autocons']).replace('.', ',')" /> kWh</td> <td class="text-end text-nowrap"><t t-esc="('%.1f' % tCounter['percentage']).replace('.', ',')"