[IMP]:mrp:product cost structure
authorapa (OpenERP) <apa@tinyerp.com>
Thu, 16 Dec 2010 07:37:48 +0000 (13:07 +0530)
committerapa (OpenERP) <apa@tinyerp.com>
Thu, 16 Dec 2010 07:37:48 +0000 (13:07 +0530)
bzr revid: apa@tinyerp.com-20101216073748-f0l6nciza2u3yd1y

addons/mrp/report/price.py

index 53063bd..76bcc4b 100644 (file)
@@ -129,7 +129,7 @@ class report_custom(report_rml):
                     <col t='yes'>%s</col>
                     <col t='yes'>%s</col>
                 </row>
-        """ % (_('Component'), _('Component suppliers'), _('Quantity'),_('Cost Price per Uom'), _('Supplier Price per Uom'))
+        """ % (_('Components'), _('Components suppliers'), _('Quantity'),_('Cost Price per Uom'), _('Supplier Price per Uom'))
 
         purchase_price_digits = rml_obj.get_digits(dp='Purchase Price')
 
@@ -176,7 +176,7 @@ class report_custom(report_rml):
 
                 xml += "<lines style='lines'>" + xml_tmp + '</lines>'
                 xml += """<lines style='sub_total'> <row>
-                    <col> """ + _('Component Cost of ')  + str(number) +' '+ product.uom_id.name + """: </col>
+                    <col> """ + _('Components Cost of ')  + str(number) +' '+ product.uom_id.name + """: </col>
                     <col/>
                     <col t='yes'/>
                     <col t='yes'>"""+ rml_obj.formatLang(total_strd, digits=purchase_price_digits) +' '+ company_currency.symbol + """</col>