修改接口

This commit is contained in:
sunjie
2025-11-09 23:53:49 +08:00
parent e21c3d5d42
commit 7ae99048a1
+1 -1
View File
@@ -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))])