[FIX] web_studio: add background image in the cache hashes
When changing the background image with studio the image does not update. It works in debug=assets mode. This is due to the fact that the caching system is not aware of the presence of a possible background image opw-2696786 closes odoo/odoo#83374 X-original-commit: 184029e3e1e8907e25dd712dd87afd65885695bb Related: odoo/enterprise#23744 Signed-off-by: Achraf <abz@odoo.com>
This commit is contained in:
@@ -32,6 +32,7 @@ class IrUiMenu(models.Model):
|
||||
"actionModel": False,
|
||||
"webIcon": None,
|
||||
"webIconData": None,
|
||||
"backgroundImage": menu.get('backgroundImage'),
|
||||
}
|
||||
else:
|
||||
action = menu['action']
|
||||
|
||||
@@ -41,7 +41,8 @@ class LoadMenusTests(HttpCase):
|
||||
"name": "root",
|
||||
"webIcon": None,
|
||||
"webIconData": None,
|
||||
"xmlid": ""
|
||||
"xmlid": "",
|
||||
"backgroundImage": None,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user