diff --git a/yuthon_hr_attendance/controllers/main.py b/yuthon_hr_attendance/controllers/main.py index e33d29f24..618c0a9a9 100644 --- a/yuthon_hr_attendance/controllers/main.py +++ b/yuthon_hr_attendance/controllers/main.py @@ -49,7 +49,7 @@ class YuthonSalary(http.Controller): }) @http.route('/yuthon/yuthon/salary/confirm', methods=['POST'], type='http', auth='none', csrf=False) - def index2(self, **kwargs): + def index3(self, **kwargs): id = kwargs.get('id') record = request.env['hr.payslip'].sudo().search(domain=[("id", "=", int(id))])