mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] js, python string
This commit is contained in:
@@ -20,7 +20,7 @@ class ResCompany(models.Model):
|
|||||||
)
|
)
|
||||||
self.env.cr.execute(
|
self.env.cr.execute(
|
||||||
"select key, value from ir_config_parameter where key ilike "
|
"select key, value from ir_config_parameter where key ilike "
|
||||||
"'%support_%';"
|
"'support_%';"
|
||||||
)
|
)
|
||||||
res = self.env.cr.dictfetchall()
|
res = self.env.cr.dictfetchall()
|
||||||
if any(res):
|
if any(res):
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ odoo.define("support_branding.ResConfigEdition", function (require) {
|
|||||||
if (result && "support_release" in result)
|
if (result && "support_release" in result)
|
||||||
self.support_cp_release = result.support_release;
|
self.support_cp_release = result.support_release;
|
||||||
if (result && "support_branding_color" in result)
|
if (result && "support_branding_color" in result)
|
||||||
self.support_branding_color = result.support_branding_color;
|
self.support_cp_color = result.support_branding_color;
|
||||||
});
|
});
|
||||||
|
|
||||||
return $.when(this._super.apply(this, arguments), def_1);
|
return $.when(this._super.apply(this, arguments), def_1);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ odoo.define("support_branding.CrashManager", function (require) {
|
|||||||
if (result && "support_release" in result)
|
if (result && "support_release" in result)
|
||||||
self.support_cp_release = result.support_release;
|
self.support_cp_release = result.support_release;
|
||||||
if (result && "support_branding_color" in result)
|
if (result && "support_branding_color" in result)
|
||||||
self.support_branding_color = result.support_branding_color;
|
self.support_cp_color = result.support_branding_color;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user