Browse Source

Aug 29: [FIX] Bug fixed 'vista_backend_theme'

pull/284/merge
Risvana Cybro 2 weeks ago
parent
commit
ca14830c1a
  1. 8
      vista_backend_theme/wizard/theme.py

8
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':

Loading…
Cancel
Save