mirror of https://github.com/OCA/web.git
[FIX] js, python string
parent
179a190e09
commit
c33c017c85
|
@ -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;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue