mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix app saas misc
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'odoo Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data',
|
'name': 'odoo Tweak,Ai Employee,Boost,Customize All in One. Customize,UI,Boost,Security,Data',
|
||||||
'version': '16.25.01.03',
|
'version': '16.0.25.02.11',
|
||||||
'author': 'odooai.cn',
|
'author': 'odooai.cn',
|
||||||
'category': 'Extra Tools',
|
'category': 'Extra Tools',
|
||||||
'website': 'https://www.odooai.cn',
|
'website': 'https://www.odooai.cn',
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ msgstr "<span class=\"o_stat_text\"> 模块 </span>"
|
|||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
|
#: model_terms:ir.ui.view,arch_db:app_odoo_customize.view_app_theme_config_settings
|
||||||
msgid "<span>Set to False to hide</span>"
|
msgid "<span>Set to False to hide</span>"
|
||||||
msgstr "<span>设置为 False 则不显示</span>"
|
msgstr "<span>设置为 False 或 0 则不显示</span>"
|
||||||
|
|
||||||
#. module: app_odoo_customize
|
#. module: app_odoo_customize
|
||||||
#. odoo-javascript
|
#. odoo-javascript
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ odoo.define("web_environment_ribbon.ribbon", function (require) {
|
|||||||
method: "get_environment_ribbon",
|
method: "get_environment_ribbon",
|
||||||
}).then(function (ribbon_data) {
|
}).then(function (ribbon_data) {
|
||||||
// Ribbon name
|
// Ribbon name
|
||||||
if (ribbon_data.name && ribbon_data.name !== "False") {
|
if (ribbon_data.name && (ribbon_data.name !== "False" || ribbon_data.name !== "0")) {
|
||||||
ribbon.html(ribbon_data.name);
|
ribbon.html(ribbon_data.name);
|
||||||
ribbon.show();
|
ribbon.show();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'odooapp.cn SaaS Client-Ai Passport.Odoo中文应用商店SaaS云服务客户端',
|
'name': 'odooapp.cn SaaS Client-Ai Passport.Odoo中文应用商店SaaS云服务客户端',
|
||||||
'version': '16.0.25.02.07',
|
'version': '16.0.25.02.11',
|
||||||
'author': 'odooai.cn',
|
'author': 'odooai.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.odooai.cn',
|
'website': 'https://www.odooai.cn',
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class IrConfigParameter(models.Model):
|
|||||||
def init(self, force=False):
|
def init(self, force=False):
|
||||||
super(IrConfigParameter, self).init(force=force)
|
super(IrConfigParameter, self).init(force=force)
|
||||||
if force:
|
if force:
|
||||||
oauth_app_saas = self.env.ref('app_saas.ir_config_parameter.py')
|
oauth_app_saas = self.env.ref('app_saas.provider_app_saas')
|
||||||
if not oauth_app_saas:
|
if not oauth_app_saas:
|
||||||
return
|
return
|
||||||
dbuuid = self.sudo().get_param('database.uuid')
|
dbuuid = self.sudo().get_param('database.uuid')
|
||||||
|
|||||||
Reference in New Issue
Block a user