修改接口
This commit is contained in:
@@ -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))])
|
||||
|
||||
Reference in New Issue
Block a user