From fbd2eb127450a17a8554ef7c0d9556b07933a0f4 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Thu, 11 Nov 2010 10:54:39 +0530 Subject: [PATCH] [IMP]:mrp:improve bzr revid: apa@tinyerp.com-20101111052439-iynakns69nggh8qe --- addons/mrp/report/price.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mrp/report/price.py b/addons/mrp/report/price.py index f2791b3b79d..9a7bb532acc 100644 --- a/addons/mrp/report/price.py +++ b/addons/mrp/report/price.py @@ -149,7 +149,7 @@ class report_custom(report_rml): - """ xml += """ - """ + _('Total Cost ') + _('of ') + str(number) +' '+ product.uom_id.name + """: + """ + _('Total Cost of ') + str(number) +' '+ product.uom_id.name + """: """+ rml_obj.formatLang(total_strd, digits=purchase_price_digits) +' '+ company_currency.symbol + """ @@ -176,7 +176,7 @@ class report_custom(report_rml): xml += "" + xml_tmp + '' xml += """ - """ + _('Component ') + _('Cost ') + _('of ') + str(number) +' '+ product.uom_id.name + """: + """ + _('Component Cost of ') + str(number) +' '+ product.uom_id.name + """: """+ rml_obj.formatLang(total_strd, digits=purchase_price_digits) +' '+ company_currency.symbol + """ @@ -193,14 +193,14 @@ class report_custom(report_rml): xml += workcenter_header xml += "" + xml_tmp + '' xml += """ - """ + _('Work Cost ') + _('of ') + str(number) +' '+ product.uom_id.name +""": + """ + _('Work Cost of ') + str(number) +' '+ product.uom_id.name +""": """+ rml_obj.formatLang(total2, digits=purchase_price_digits) +' '+ company_currency.symbol +""" '""" xml += """ - """ + _('Total Cost ') + _('of ') + str(number) +' '+ product.uom_id.name + """: + """ + _('Total Cost of ') + str(number) +' '+ product.uom_id.name + """: """+ rml_obj.formatLang(total_strd+total2, digits=purchase_price_digits) +' '+ company_currency.symbol + """