diff --git a/addons/mrp_repair/report/order.rml b/addons/mrp_repair/report/order.rml
index 781bffaae59..0a89efc73dd 100644
--- a/addons/mrp_repair/report/order.rml
+++ b/addons/mrp_repair/report/order.rml
@@ -244,10 +244,10 @@
[[ o.prodlot_id.name or ' ' ]]
- [[ time.strftime('%d/%m/%Y', time.strptime(o.guarantee_limit, '%Y-%m-%d')) ]]
+ [[ formatLang(o.guarantee_limit,date = True) ]]
|
- [[ time.strftime('%d/%m/%Y')]]
+ [[ formatLang(time.strftime('%Y-%m-%d'),date = True)]]
|
@@ -291,23 +291,22 @@
[[ line.name ]][[ (line.to_invoice==True) or removeParentNode('tr') ]]
- [[ ','.join(map( lambda x: x.name, line.tax_id)) or '0.00' ]]
+ [[ ','.join(map( lambda x: x.name, line.tax_id)) ]]
|
- [[ line.product_uom_qty or '0.00' ]] [[ line.product_uom.name ]]
+ [[ formatLang(line.product_uom_qty) ]] [[ line.product_uom.name ]]
|
- [[ line.price_unit ]]
+ [[ formatLang(line.price_unit) ]]
|
- [[ line.price_subtotal ]]
+ [[ formatLang(line.price_subtotal) ]]
|
- Fees Line(s)
-
+ Fees Line(s) [[ (o.fees_lines ==[] and removeParentNode('para') ) ]]
|
@@ -317,16 +316,16 @@
[[ fees.name ]][[ (fees.to_invoice==True) or removeParentNode('tr') ]]
|
- [[ ','.join(map( lambda x: x.name, fees.tax_id)) or '0.00' ]]
+ [[ ','.join(map( lambda x: x.name, fees.tax_id)) ]]
|
- [[ fees.product_uom_qty or '0.00' ]] [[ fees.product_uom.name ]]
+ [[ formatLang(fees.product_uom_qty) ]] [[ fees.product_uom.name ]]
|
- [[ fees.price_unit ]]
+ [[ formatLang(fees.price_unit) ]]
|
- [[ fees.price_subtotal ]]
+ [[ formatLang(fees.price_subtotal) ]]
|
@@ -347,7 +346,7 @@
Net Total :
- [[ o.amount_untaxed or '0.00' ]]
+ [[ formatLang(o.amount_untaxed)]]
|
[[ o.pricelist_id.currency_id.name ]]
@@ -363,7 +362,7 @@
Taxes:
|
- [[ o.amount_tax or '0.00']]
+ [[ formatLang(o.amount_tax)]]
|
[[ o.pricelist_id.currency_id.name ]]
@@ -379,7 +378,7 @@
Total :
|
- [[ total(o) ]]
+ [[ formatLang(total(o)) ]]
|
[[ o.pricelist_id.currency_id.name ]]
|