fix app saas misc

This commit is contained in:
Ivan Office
2025-02-11 16:08:14 +08:00
parent 03441ede39
commit 21b2b81732
5 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ odoo.define("web_environment_ribbon.ribbon", function (require) {
method: "get_environment_ribbon",
}).then(function (ribbon_data) {
// 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.show();
}