diff --git a/odex25_base/code_backend_theme_enterprise/hooks.py b/odex25_base/code_backend_theme_enterprise/hooks.py index 4f912a001..7de8e9d15 100644 --- a/odex25_base/code_backend_theme_enterprise/hooks.py +++ b/odex25_base/code_backend_theme_enterprise/hooks.py @@ -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())}) diff --git a/odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/benefit_management.png b/odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/benefit_management.png index 2bdd46de0..a352c38a1 100644 Binary files a/odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/benefit_management.png and b/odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/benefit_management.png differ diff --git a/odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/Takaful Settings.png b/odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/takaful_settings.png similarity index 100% rename from odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/Takaful Settings.png rename to odex25_base/code_backend_theme_enterprise/static/src/img/new_icons/takaful_settings.png