From 7ae99048a1300169886a4b4c88ea5e7a8955c044 Mon Sep 17 00:00:00 2001 From: sunjie Date: Sun, 9 Nov 2025 23:53:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_hr_attendance/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))])