Update app_common: discuss.channel

This commit is contained in:
Chill
2024-03-29 18:22:58 +08:00
parent 1f97a0f00c
commit 6f1b1cb1d6
3 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
{
'name': "odooAi Common Util and Tools",
'version': '24.03.11',
'version': '24.03.29',
'author': 'odooai.cn',
'category': 'Base',
'website': 'https://www.odooai.cn',

View File

@@ -21,8 +21,8 @@ def app_quick_import(cr, content_path, sep=None):
file_path = modules.get_module_resource(module_name, dir_split[1], file_name)
content = open(file_path, 'rb').read()
uid = SUPERUSER_ID
if model_name == 'mail.channel':
# todo: 创建mail.channel时如果用root用户会报错
if model_name == 'discuss.channel':
# todo: 创建discuss.channel时如果用root用户会报错
uid = 2
env = api.Environment(cr, uid, {})
if file_type == '.csv':

View File

@@ -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>Lastest update: v17.24.03.11</h3>
<h3>Lastest update: v17.24.03.29</h3>
<div class="row">
<img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png">
</div>