Commit 7e460e39 authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-08-18 mame

*modified script so that packing list report now includes item's references

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28452 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4c1fd577
......@@ -173,6 +173,7 @@ for line in getSubLineList(context):\n
\'base_price\': \'\',\n
\'total_price\': \'\',\n
\'specialise_title\': \'\',\n
\'aggregate_title_list\' : [x.getReference() for x in line.getAggregateValueList()] or \'\',\n
}\n
else:\n
if line.getPortalType().endswith(\'Cell\'):\n
......@@ -197,6 +198,7 @@ for line in getSubLineList(context):\n
\'base_price\': line.getPrice() or \'\',\n
\'total_price\': line.getTotalPrice() or \'\',\n
\'specialise_title\' : line.getProperty(\'specialise_title\', \'\'),\n
\'aggregate_title_list\' : [x.getReference() for x in line.getAggregateValueList()] or \'\',\n
}\n
total_price += line.getTotalPrice() or 0.0\n
line_list.append(unicodeDict(line_dict.copy()))\n
......@@ -474,11 +476,11 @@ return unicodeDict(data_dict)\n
<string>prod_desc</string>
<string>desc</string>
<string>getattr</string>
<string>line_dict</string>
<string>display_id</string>
<string>append</string>
<string>$append0</string>
<string>x</string>
<string>line_dict</string>
<string>display_id</string>
<string>_getitem_</string>
<string>_inplacevar_</string>
<string>inch_cm_ratio</string>
......
626
\ No newline at end of file
628
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment