From 618238b352ba0a2b674b7d08e5aff93bc3022cac Mon Sep 17 00:00:00 2001 From: odex Date: Thu, 18 Jul 2024 17:45:57 +0300 Subject: [PATCH] some task --- .../odex_mobile/controllers/rest_api_v2/permission.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odex25_mobile/odex_mobile/controllers/rest_api_v2/permission.py b/odex25_mobile/odex_mobile/controllers/rest_api_v2/permission.py index 48137b684..250c5b6c7 100644 --- a/odex25_mobile/odex_mobile/controllers/rest_api_v2/permission.py +++ b/odex25_mobile/odex_mobile/controllers/rest_api_v2/permission.py @@ -95,8 +95,8 @@ class PermissionController(http.Controller): success=False) if not body.get('early_exit'): return http_helper.response(code=400, message="Enter Early Exit for Permission request", success=False) - if not body.get('mission_purpose'): - return http_helper.response(code=400, message="mission purpose for Permission request", success=False) + # if not body.get('mission_purpose'): + # return http_helper.response(code=400, message="mission purpose for Permission request", success=False) employee = http.request.env['hr.employee'].search([('user_id', '=', user.id)], limit=1) if not employee: return http_helper.response(code=400,