Commit 529fc1a2 authored by Jérome Perrin's avatar Jérome Perrin

change style

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0c1cc58
......@@ -451,8 +451,8 @@ class PaySheetTransaction(Invoice):
calculation_script = getattr(paysheet, script_name, None)
quantity=0
price=0
cell_dict = calculation_script(base_amount_dict=base_amount_dict,
cell=cell,)
cell_dict = calculation_script(base_amount_dict=base_amount_dict,
cell=cell,)
cell_dict.update({'category_list': cell_coordinates})
if cell_dict.has_key('categories'):
......@@ -480,7 +480,7 @@ class PaySheetTransaction(Invoice):
base_amount_dict[base_participation]={}
if price:
new_val = round((old_val + quantity*price), precision)
new_val = round((old_val + quantity*price), precision)
base_amount_dict[base_participation][share] = new_val
if cell_list:
......
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