[IMP]:mrp:Product Cost Structure Report
* what's that size for the title header? use the same size as for other report * the 1sub total for component costs should display "component cost for 1PCE' and not only "cost for 1PCE". Also on the same row, the total for supplier price per uom shouldn't be displayed * same for "Total Cost of 1 PCE: the total for supplier price per uom shouldn't be displayed bzr revid: apa@tinyerp.com-20101110085907-fhr2x9jqi82ggypy
This commit is contained in:
parent
3645885970
commit
a4fbbc9de2
|
@ -176,11 +176,11 @@ class report_custom(report_rml):
|
|||
|
||||
xml += "<lines style='lines'>" + xml_tmp + '</lines>'
|
||||
xml += """<lines style='sub_total'> <row>
|
||||
<col> """ + _('Cost ') + _('of ') + str(number) +' '+ product.uom_id.name + """: </col>
|
||||
<col> """ + _('Component ') + _('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>
|
||||
<col t='yes'>"""+ rml_obj.formatLang(total, digits=purchase_price_digits) +' '+ company_currency.symbol + """</col>
|
||||
<col t='yes'></col>
|
||||
</row></lines>'"""
|
||||
|
||||
total2 = 0
|
||||
|
@ -204,7 +204,7 @@ class report_custom(report_rml):
|
|||
<col/>
|
||||
<col t='yes'/>
|
||||
<col t='yes'>"""+ rml_obj.formatLang(total_strd+total2, digits=purchase_price_digits) +' '+ company_currency.symbol + """</col>
|
||||
<col t='yes'>"""+ rml_obj.formatLang(total+total2, digits=purchase_price_digits) +' '+ company_currency.symbol + """</col>
|
||||
<col t='yes'></col>
|
||||
</row></lines>'"""
|
||||
|
||||
xml = '<?xml version="1.0" ?><report>' + config_start + config_stop + xml + '</report>'
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<!-- stylesheet -->
|
||||
|
||||
<xsl:template name="stylesheet">
|
||||
<paraStyle name="title" fontName="Helvetica-Bold" fontSize="22.0" leftIndent="-8.0cm" alignment="center"/>
|
||||
<paraStyle name="title" fontName="Helvetica-Bold" fontSize="15.0" leftIndent="-8.0cm" alignment="center"/>
|
||||
<paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT"/>
|
||||
<paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
|
||||
<paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT"/>
|
||||
|
|
Loading…
Reference in New Issue