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
if cartesian_product == [[]]: \n
share_dict = {}\n
if 0:\n
share_dict[cell.getContributionShare()+\'_share_price\'] = 0\n
share_dict[cell.getContributionShare()+\'_share_quantity\'] = 0\n
share_dict[cell.getContributionShare()+\'_price\'] = 0\n
share_dict[cell.getContributionShare()+\'_quantity\'] = 0\n
continue\n
\n
for tuple in cartesian_product:\n
......@@ -122,8 +122,8 @@ for model_line in model_line_list:\n
price = cell.getPrice()\n
if price is None:\n
price = 1\n
share_dict[cell.getContributionShare()+\'_share_price\'] = price\n
share_dict[cell.getContributionShare()+\'_share_quantity\'] = quantity\n
share_dict[cell.getContributionShare()+\'_price\'] = price\n
share_dict[cell.getContributionShare()+\'_quantity\'] = quantity\n
\n
tuple_dict = {}\n
for item in tuple:\n
......
530
\ No newline at end of file
531
\ 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