Commit d220680f authored by Fabien Morin's avatar Fabien Morin

forget to commit this in r29073

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29099 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1a9e33a4
...@@ -99,8 +99,8 @@ for model_line in model_line_list:\n ...@@ -99,8 +99,8 @@ for model_line in model_line_list:\n
if cartesian_product == [[]]: \n if cartesian_product == [[]]: \n
share_dict = {}\n share_dict = {}\n
if 0:\n if 0:\n
share_dict[cell.getContributionShare()+\'_share_price\'] = 0\n share_dict[cell.getContributionShare()+\'_price\'] = 0\n
share_dict[cell.getContributionShare()+\'_share_quantity\'] = 0\n share_dict[cell.getContributionShare()+\'_quantity\'] = 0\n
continue\n continue\n
\n \n
for tuple in cartesian_product:\n for tuple in cartesian_product:\n
...@@ -122,8 +122,8 @@ for model_line in model_line_list:\n ...@@ -122,8 +122,8 @@ for model_line in model_line_list:\n
price = cell.getPrice()\n price = cell.getPrice()\n
if price is None:\n if price is None:\n
price = 1\n price = 1\n
share_dict[cell.getContributionShare()+\'_share_price\'] = price\n share_dict[cell.getContributionShare()+\'_price\'] = price\n
share_dict[cell.getContributionShare()+\'_share_quantity\'] = quantity\n share_dict[cell.getContributionShare()+\'_quantity\'] = quantity\n
\n \n
tuple_dict = {}\n tuple_dict = {}\n
for item in tuple:\n for item in tuple:\n
......
530 531
\ 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