[PATCH] Upstream patch - 20102022

This commit is contained in:
Parthiv Patel committed 2022-10-20 08:34:45 +00:00
1 parent c72fddc652
commit bfc0294fb0
25 files changed
+291 -96

No files matched your search

+4 -1
View File
@@ -230,7 +230,10 @@ class MailController(http.Controller):
# ==============================================================================================
if res_id and isinstance(res_id, str):
res_id = int(res_id)
try:
res_id = int(res_id)
except ValueError:
res_id = False
return self._redirect_to_record(model, res_id, access_token, **kwargs)
@http.route('/mail/assign', type='http', auth='user', methods=['GET'])