Merge pull request #11 from expsa/ensan_theme_new_icons
re edit ensan backend theme new apps icons
This commit is contained in:
commit
c440854d60
|
|
@ -282,7 +282,7 @@ def test_pre_init_hook(cr):
|
|||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'assets.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Benefit management':
|
||||
if menu.name == 'Benefit Management':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'benefit_management.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
|
|
@ -294,7 +294,7 @@ def test_pre_init_hook(cr):
|
|||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'transactions_management.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Real estate':
|
||||
if menu.name == 'Real Estate':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'real_estate.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
|
|
@ -322,6 +322,10 @@ def test_pre_init_hook(cr):
|
|||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'workflow.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Takaful Settings':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'takaful_settings.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
|
||||
|
||||
def test_post_init_hook(cr, registry):
|
||||
|
|
@ -550,7 +554,7 @@ def test_post_init_hook(cr, registry):
|
|||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Petty Cash':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'petty-cash.png')
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'petty_cash.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Task Logs':
|
||||
img_path = get_module_resource(
|
||||
|
|
@ -580,7 +584,7 @@ def test_post_init_hook(cr, registry):
|
|||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'assets.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Benefit management':
|
||||
if menu.name == 'Benefit Management':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'benefit_management.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
|
|
@ -592,7 +596,7 @@ def test_post_init_hook(cr, registry):
|
|||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'transactions_management.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Real estate':
|
||||
if menu.name == 'Real Estate':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'real_estate.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
|
|
@ -620,3 +624,7 @@ def test_post_init_hook(cr, registry):
|
|||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'workflow.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
if menu.name == 'Takaful Settings':
|
||||
img_path = get_module_resource(
|
||||
'code_backend_theme_enterprise', 'static', 'src', 'img', 'new_icons', 'takaful_settings.png')
|
||||
menu.write({'web_icon_data': base64.b64encode(open(img_path, "rb").read())})
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Loading…
Reference in New Issue