[IMP]:mrp:product cost structure
bzr revid: apa@tinyerp.com-20101216073748-f0l6nciza2u3yd1y
This commit is contained in:
parent
aa16ff6aae
commit
ce252363d4
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue