[IMP]mrp : improve bom structure report
bzr revid: mma@tinyerp.com-20121017061659-bam8qklr8frdl8wo
This commit is contained in:
parent
5fef3eb23f
commit
f006171ab3
|
@ -38,7 +38,7 @@ class bom_structure(report_sxw.rml_parse):
|
|||
def _get_rec(object, level):
|
||||
for l in object:
|
||||
res = {}
|
||||
res['name'] = l.name
|
||||
res['name'] = l.product_id.name
|
||||
res['pname'] = l.product_id.name
|
||||
res['pcode'] = l.product_id.default_code
|
||||
res['pqty'] = l.product_qty
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
<blockTable colWidths="192.0,198.0,71.0,71.0" style="Table1">
|
||||
<tr>
|
||||
<td>
|
||||
<para style="terp_default_Bold_9">[[ o.name ]]</para>
|
||||
<para style="terp_default_Bold_9">[[ o.product_id.name ]]</para>
|
||||
</td>
|
||||
<td>
|
||||
<para style="terp_default_Bold_9">[ [[ (o.product_id.default_code) or removeParentNode('font') ]] ] [[ o.product_id.name ]]</para>
|
||||
|
|
Loading…
Reference in New Issue