diff --git a/vista_backend_theme/wizard/theme.py b/vista_backend_theme/wizard/theme.py index d90401836..0493ed92f 100644 --- a/vista_backend_theme/wizard/theme.py +++ b/vista_backend_theme/wizard/theme.py @@ -116,10 +116,10 @@ class Theme(models.TransientModel): 'crm.png') menu.write({'web_icon_data': base64.b64encode( open(img_path, "rb").read())}) - if menu.name == 'Note': + if menu.name == 'Notes': img_path = get_module_resource( 'vista_backend_theme', 'static', 'src', 'img', 'icons', - 'note.png') + 'notes.png') menu.write({'web_icon_data': base64.b64encode( open(img_path, "rb").read())}) if menu.name == 'Website': @@ -333,11 +333,11 @@ class Theme(models.TransientModel): 'crm.png') menu.write({'web_icon_data': base64.b64encode( open(img_path, "rb").read())}) - if menu.name == 'Note': + if menu.name == 'Notes': img_path = get_module_resource( 'vista_backend_theme', 'static', 'src', 'img', 'icons_green', - 'note.png') + 'notes.png') menu.write({'web_icon_data': base64.b64encode( open(img_path, "rb").read())}) if menu.name == 'Website':