Commit 34655658 authored by Fabien Morin's avatar Fabien Morin

forget to change some base_amount into base_contribution


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25126 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eaee60d2
......@@ -143,7 +143,7 @@ class PaySheetTransaction(Invoice):
security.declareProtected(Permissions.AddPortalContent,
'createPaySheetLine')
def createPaySheetLine(self, cell_list, title='', resource='',
description='', base_amount_list=None, int_index=None,
description='', base_contribution_list=None, int_index=None,
categories=None, **kw):
'''
This function register all paysheet informations in paysheet lines and
......@@ -178,7 +178,7 @@ class PaySheetTransaction(Invoice):
variation_base_category_list=('tax_category',
'salary_range'),
variation_category_list=var_cat_list,
base_amount_list=base_amount_list,
base_contribution_list=base_contribution_list,
int_index=int_index,
**kw)
......@@ -501,9 +501,7 @@ class PaySheetTransaction(Invoice):
source_section=source_section,
int_index=int_index,
desc=desc,
# TODO: this is base_contribution,
# not base_amount
base_amount_list=base_contribution_list,
base_contribution_list=base_contribution_list,
cell_list=cell_list,
categories=categories)
pay_sheet_line_list.append(pay_sheet_line)
......
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