[FIX] app_common,app_odoo_customize,安全优化

This commit is contained in:
Chill
2024-03-11 16:42:04 +08:00
parent 020b3487ef
commit 79dc45b24b
6 changed files with 23 additions and 23 deletions

View File

@@ -107,7 +107,7 @@ class Base(models.AbstractModel):
return dt.astimezone(pytz_timezone).strftime(return_format)
@api.model
def get_image_from_url(self, url):
def _get_image_from_url(self, url):
# 返回这个图片的base64编码
if not self._app_check_sys_op():
return False