تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3695 أدوات العرض


odoo-server/addons/hr_payroll/wizard/hr_payroll_payslips_by_employees.py", line 26, in compute_sheet
    slip_data = self.env['hr.payslip'].onchange_employee_id(from_date, to_date, employee.id, contract_id=False)
TypeError: onchange_employee_id() got an unexpected keyword argument 'contract_id'


الصورة الرمزية
إهمال
أفضل إجابة

Are you using custom module like saudi_gosi module, I found the same error in Open HRMS in below link and it's already solved for v12  as per below link so you need to download the latest version of V11 and update you environment and see if it's solved for 11 as well. 

https://github.com/CybroOdoo/OpenHRMS/issues/24

https://github.com/CybroOdoo/OpenHRMS/commit/2c1dafba3b5bb21b2cf36c869630459a0a84c9f7#diff-3bef6db36246fe452045f2c0f24c7d22

الصورة الرمزية
إهمال
الكاتب

it works after uninstall saudi gosi . the issue still in v11 , thanks indeed

You can fix it as second link or submit issue in there github page

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يونيو 20
2599
2
يناير 19
5502
0
مايو 22
3415
1
مارس 22
13505
5
مارس 20
3676