mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
Update app_common: discuss.channel
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "odooAi Common Util and Tools",
|
'name': "odooAi Common Util and Tools",
|
||||||
'version': '24.03.11',
|
'version': '24.03.29',
|
||||||
'author': 'odooai.cn',
|
'author': 'odooai.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.odooai.cn',
|
'website': 'https://www.odooai.cn',
|
||||||
|
|||||||
@@ -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)
|
file_path = modules.get_module_resource(module_name, dir_split[1], file_name)
|
||||||
content = open(file_path, 'rb').read()
|
content = open(file_path, 'rb').read()
|
||||||
uid = SUPERUSER_ID
|
uid = SUPERUSER_ID
|
||||||
if model_name == 'mail.channel':
|
if model_name == 'discuss.channel':
|
||||||
# todo: 创建mail.channel时,如果用root用户会报错
|
# todo: 创建discuss.channel时,如果用root用户会报错
|
||||||
uid = 2
|
uid = 2
|
||||||
env = api.Environment(cr, uid, {})
|
env = api.Environment(cr, uid, {})
|
||||||
if file_type == '.csv':
|
if file_type == '.csv':
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<h2 class="oe_slogan">odooAi Common Util and Tools</h2>
|
<h2 class="oe_slogan">odooAi Common Util and Tools</h2>
|
||||||
<h3 class="oe_slogan"> Network and media and base tools </h3>
|
<h3 class="oe_slogan"> Network and media and base tools </h3>
|
||||||
<div class="oe_row">
|
<div class="oe_row">
|
||||||
<h3>Lastest update: v17.24.03.11</h3>
|
<h3>Lastest update: v17.24.03.29</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png">
|
<img class="oe_demo oe_screenshot img img-fluid" style="max-height: 100%;" src="banner.png">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user