Commit e3bb0349 authored by Mame Coumba Sall's avatar Mame Coumba Sall

2009-08-19 mame

*revert to previous version of script, changes made are moved to bt specific to customer

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28477 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5b3dbd04
...@@ -173,7 +173,6 @@ for line in getSubLineList(context):\n ...@@ -173,7 +173,6 @@ for line in getSubLineList(context):\n
\'base_price\': \'\',\n \'base_price\': \'\',\n
\'total_price\': \'\',\n \'total_price\': \'\',\n
\'specialise_title\': \'\',\n \'specialise_title\': \'\',\n
\'aggregate_title_list\' : [x.getReference() for x in line.getAggregateValueList()] or \'\',\n
}\n }\n
else:\n else:\n
if line.getPortalType().endswith(\'Cell\'):\n if line.getPortalType().endswith(\'Cell\'):\n
...@@ -198,7 +197,6 @@ for line in getSubLineList(context):\n ...@@ -198,7 +197,6 @@ for line in getSubLineList(context):\n
\'base_price\': line.getPrice() or \'\',\n \'base_price\': line.getPrice() or \'\',\n
\'total_price\': line.getTotalPrice() or \'\',\n \'total_price\': line.getTotalPrice() or \'\',\n
\'specialise_title\' : line.getProperty(\'specialise_title\', \'\'),\n \'specialise_title\' : line.getProperty(\'specialise_title\', \'\'),\n
\'aggregate_title_list\' : [x.getReference() for x in line.getAggregateValueList()] or \'\',\n
}\n }\n
total_price += line.getTotalPrice() or 0.0\n total_price += line.getTotalPrice() or 0.0\n
line_list.append(unicodeDict(line_dict.copy()))\n line_list.append(unicodeDict(line_dict.copy()))\n
...@@ -476,11 +474,11 @@ return unicodeDict(data_dict)\n ...@@ -476,11 +474,11 @@ return unicodeDict(data_dict)\n
<string>prod_desc</string> <string>prod_desc</string>
<string>desc</string> <string>desc</string>
<string>getattr</string> <string>getattr</string>
<string>line_dict</string>
<string>display_id</string>
<string>append</string> <string>append</string>
<string>$append0</string> <string>$append0</string>
<string>x</string> <string>x</string>
<string>line_dict</string>
<string>display_id</string>
<string>_getitem_</string> <string>_getitem_</string>
<string>_inplacevar_</string> <string>_inplacevar_</string>
<string>inch_cm_ratio</string> <string>inch_cm_ratio</string>
......
628 629
\ No newline at end of file \ 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