diff --git a/app_odoo_customize/__manifest__.py b/app_odoo_customize/__manifest__.py
index 5e21f353..f6660079 100644
--- a/app_odoo_customize/__manifest__.py
+++ b/app_odoo_customize/__manifest__.py
@@ -134,11 +134,11 @@
'views/ir_translation_views.xml',
'views/ir_ui_menu_views.xml',
# data
- 'data/ir_config_parameter.xml',
- 'data/ir_module_module.xml',
+ 'data/ir_config_parameter_data.xml',
+ 'data/ir_module_module_data.xml',
# 'data/digest_template_data.xml',
'data/res_company_data.xml',
- 'data/res_groups.xml',
+ 'security/res_groups.xml',
'security/ir.model.access.csv',
],
'qweb': [
diff --git a/app_odoo_customize/data/ir_config_parameter_data.xml b/app_odoo_customize/data/ir_config_parameter_data.xml
new file mode 100644
index 00000000..aa39b7c6
--- /dev/null
+++ b/app_odoo_customize/data/ir_config_parameter_data.xml
@@ -0,0 +1,81 @@
+
+
+
+
+ app_system_name
+ odooApp13
+
+
+
+ app_show_lang
+ True
+
+
+ app_show_debug
+ True
+
+
+ app_show_documentation
+ True
+
+
+ app_show_documentation_dev
+ True
+
+
+ app_show_support
+ True
+
+
+ app_show_account
+ True
+
+
+ app_show_enterprise
+ False
+
+
+ app_show_share
+ False
+
+
+ app_show_poweredby
+ False
+
+
+ app_documentation_url
+ https://www.sunpop.cn/documentation/user/12.0/zh_CN/index.html
+
+
+ app_documentation_dev_url
+ https://www.sunpop.cn/documentation/12.0/index.html
+
+
+ app_support_url
+ https://www.sunpop.cn/trial
+
+
+ app_account_title
+ My Online Account
+
+
+ app_account_url
+ https://www.sunpop.cn/my-account
+
+
+
+ app_ribbon_name
+ ({db_name})]]>
+
+
+
+ app_ribbon_color
+ #f0f0f0
+
+
+
+ app_ribbon_background_color
+ rgba(255,0,0,.4)
+
+
+
\ No newline at end of file
diff --git a/app_odoo_customize/data/ir_module_module_data.xml b/app_odoo_customize/data/ir_module_module_data.xml
new file mode 100644
index 00000000..29cbec27
--- /dev/null
+++ b/app_odoo_customize/data/ir_module_module_data.xml
@@ -0,0 +1,72 @@
+
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
+ https://www.sunpop.cn
+
+
+
diff --git a/app_odoo_customize/models/res_config_settings.py b/app_odoo_customize/models/res_config_settings.py
index 80a2afda..f99ae7cb 100644
--- a/app_odoo_customize/models/res_config_settings.py
+++ b/app_odoo_customize/models/res_config_settings.py
@@ -58,7 +58,7 @@ class ResConfigSettings(models.TransientModel):
app_account_title = ir_config.get_param('app_account_title', default='My Online Account')
app_account_url = ir_config.get_param('app_account_url', default='https://www.sunpop.cn/my-account/')
app_enterprise_url = ir_config.get_param('app_enterprise_url', default='https://www.sunpop.cn')
- app_ribbon_name = ir_config.get_param('app_ribbon_name', default='*Sunpop.cn')
+ app_ribbon_name = ir_config.get_param('app_ribbon_name', default='False')
res.update(
app_system_name=app_system_name,
app_show_lang=app_show_lang,
@@ -103,7 +103,7 @@ class ResConfigSettings(models.TransientModel):
ir_config.set_param("app_account_title", self.app_account_title or "My Online Account")
ir_config.set_param("app_account_url", self.app_account_url or "https://www.sunpop.cn/my-account/")
ir_config.set_param("app_enterprise_url", self.app_enterprise_url or "https://www.sunpop.cn")
- ir_config.set_param("app_ribbon_name", self.app_ribbon_name or "*Sunpop.cn")
+ ir_config.set_param("app_ribbon_name", self.app_ribbon_name or "False")
def set_module_url(self):
sql = "UPDATE ir_module_module SET website = '%s' WHERE license like '%s' and website <> ''" % (self.app_enterprise_url, 'OEEL%')
diff --git a/app_odoo_customize/security/res_groups.xml b/app_odoo_customize/security/res_groups.xml
new file mode 100644
index 00000000..c4ae9968
--- /dev/null
+++ b/app_odoo_customize/security/res_groups.xml
@@ -0,0 +1,19 @@
+
+
+
+
+ Show Author in Apps Dashboard
+
+
+
+ Show Quick Upgrade in Apps Dashboard
+
+
+
+
+
+
+
+
+
\ No newline at end of file