diff --git a/addons/hr_payroll/hr_payroll.py b/addons/hr_payroll/hr_payroll.py index b85025ea300..2b59087ebd3 100644 --- a/addons/hr_payroll/hr_payroll.py +++ b/addons/hr_payroll/hr_payroll.py @@ -609,6 +609,7 @@ class hr_payslip(osv.osv): return res def onchange_contract_id(self, cr, uid, ids, date_from, date_to, employee_id=False, contract_id=False, context=None): +#TODO it seems to be the mess in the onchanges, we should have onchange_employee => onchange_contract => doing all the things if context is None: context = {} res = {'value':{