diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py index e96f579a17773742543ba5e0c844f3735e9d72e0..904c8615d42c522080361765ebc8586064a00d39 100644 --- a/product/ERP5/Document/PaySheetTransaction.py +++ b/product/ERP5/Document/PaySheetTransaction.py @@ -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: