[FIX] js, python string

pull/2399/head
KKamaa 2023-03-06 14:23:10 +03:00
parent 179a190e09
commit c33c017c85
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ class ResCompany(models.Model):
)
self.env.cr.execute(
"select key, value from ir_config_parameter where key ilike "
"'%support_%';"
"'support_%';"
)
res = self.env.cr.dictfetchall()
if any(res):

View File

@ -20,7 +20,7 @@ odoo.define("support_branding.ResConfigEdition", function (require) {
if (result && "support_release" in result)
self.support_cp_release = result.support_release;
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);

View File

@ -32,7 +32,7 @@ odoo.define("support_branding.CrashManager", function (require) {
if (result && "support_release" in result)
self.support_cp_release = result.support_release;
if (result && "support_branding_color" in result)
self.support_branding_color = result.support_branding_color;
self.support_cp_color = result.support_branding_color;
});
});
},