mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
[FIX] app_common,app_odoo_customize,安全优化
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
{
|
||||
'name': "odooAi Common Util and Tools,欧度智能基础核心优化",
|
||||
'version': '16.23.11.24',
|
||||
'version': '16.24.03.11',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<h2 class="oe_slogan">odooAi Common Util and Tools</h2>
|
||||
<h3 class="oe_slogan"> Network and media and base tools </h3>
|
||||
<div class="oe_row">
|
||||
<h3>Latest update: v16.22.02.02</h3>
|
||||
<h3>Latest update: v16.24.03.11</h3>
|
||||
<div class="row">
|
||||
<img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png">
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user