@ -0,0 +1,51 @@ |
|||
.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg |
|||
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html |
|||
:alt: License: LGPL-3 |
|||
|
|||
Code Backend Theme Enterprise |
|||
============================= |
|||
* Code Backend Theme module for Odoo 17 enterprise editions. This is a Minimalist and Elegant Backend Theme for Odoo 17. This theme will change your Old Experience to a New Experience with Odoo. |
|||
|
|||
Configuration |
|||
------------- |
|||
- www.odoo.com/documentation/17.0/setup/install.html |
|||
- Install our custom addon |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
License |
|||
------- |
|||
General Public License, Version 3 (LGPL v3). |
|||
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) |
|||
|
|||
Credits |
|||
------- |
|||
Developers: (V15) Abhijith KP @ Cybrosys, |
|||
(V16) Ahammed Harshad P @ Cybrosys, |
|||
(V17) ADVAITH BG @ Cybrosys |
|||
Contact: odoo@cybrosys.com |
|||
|
|||
|
|||
Contacts |
|||
-------- |
|||
* Mail Contact : odoo@cybrosys.com |
|||
* Website : https://cybrosys.com |
|||
|
|||
Bug Tracker |
|||
----------- |
|||
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
|||
|
|||
Maintainer |
|||
-------- |
|||
This module is maintained by Cybrosys Technologies. |
|||
|
|||
For support and more information, please visit https://www.cybrosys.com |
|||
|
|||
.. image:: https://cybrosys.com/images/logo.png |
|||
:target: https://cybrosys.com" |
|||
|
|||
Further information |
|||
----------------- |
|||
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: ADVAITH BG (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
from .hooks import test_pre_init_hook, test_post_init_hook |
@ -0,0 +1,67 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: ADVAITH BG (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
{ |
|||
"name": "Code Backend Theme Enterprise", |
|||
"version": "17.0.1.0.0", |
|||
"category": "Themes/Backend", |
|||
"summary": "Minimalist and elegant backend theme for Odoo Enterprise", |
|||
"description": """Minimalist and elegant backend theme for Odoo Backend""", |
|||
"author": "Cybrosys Techno Solutions", |
|||
"company": "Cybrosys Techno Solutions", |
|||
"maintainer": "Cybrosys Techno Solutions", |
|||
"website": "https://www.cybrosys.com", |
|||
"depends": ["web_enterprise", "web"], |
|||
"data": [ |
|||
'views/base_menus.xml', |
|||
], |
|||
'assets': { |
|||
'web.assets_backend': [ |
|||
"code_backend_theme_enterprise/static/src/xml/" |
|||
"top_bar_templates.xml", |
|||
"code_backend_theme_enterprise/static/src/xml/" |
|||
"sidebar_templates.xml", |
|||
"code_backend_theme_enterprise/static/src/scss/sidebar.scss", |
|||
"code_backend_theme_enterprise/static/src/js/chrome/sidebar.js", |
|||
"code_backend_theme_enterprise/static/src/js/fields/colors.js", |
|||
"code_backend_theme_enterprise/static/src/scss/theme_accent.scss", |
|||
"code_backend_theme_enterprise/static/src/scss/datetimepicker.scss", |
|||
"code_backend_theme_enterprise/static/src/scss/theme.scss", |
|||
"https://fonts.googleapis.com/css2?family=Poppins:wght@400;700" |
|||
"&display=swap", |
|||
], |
|||
'web.assets_frontend': [ |
|||
"code_backend_theme_enterprise/static/src/scss/login.scss", |
|||
"https://fonts.googleapis.com/css2?family=Poppins:wght@400;700" |
|||
"&display=swap", |
|||
], |
|||
}, |
|||
'images': [ |
|||
'static/description/banner.jpg', |
|||
'static/description/theme_screenshot.jpg', |
|||
], |
|||
'license': 'LGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
'pre_init_hook': 'test_pre_init_hook', |
|||
'post_init_hook': 'test_post_init_hook', |
|||
} |
@ -0,0 +1,5 @@ |
|||
## Module <code_backend_theme_enterprise> |
|||
#### 18.12.2023 |
|||
#### Version 17.0.1.0.0 |
|||
##### ADD |
|||
Initial commit for Code Backend Theme Enterprise |
@ -0,0 +1,721 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: ADVAITH BG (odoo@cybrosys.com) |
|||
# |
|||
# You can modify it under the terms of the GNU LESSER |
|||
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
|||
# |
|||
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
|||
# (LGPL v3) along with this program. |
|||
# If not, see <http://www.gnu.org/licenses/>. |
|||
# |
|||
############################################################################# |
|||
import base64 |
|||
from odoo.tools.misc import file_path |
|||
|
|||
|
|||
def test_pre_init_hook(cr): |
|||
""" |
|||
Hooks for Changing Menu Web_icon |
|||
""" |
|||
menu_item = cr['ir.ui.menu'].search([('parent_id', '=', False)]) |
|||
for menu in menu_item: |
|||
if menu.name == 'Contacts': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/contacts' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Link Tracker': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/link.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Dashboards': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/dashboard' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Sales': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/sales.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Accounting': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/accounting.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Inventory': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/inventory' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Purchase': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/purchase' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Calendar': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/calendar' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'CRM': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/crm.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Note': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/notes.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'To-do': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/notes.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Website': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/website.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Point of Sale': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/pos.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Manufacturing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/manufacturing.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Repairs': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/repair.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Email Marketing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/email' |
|||
'-marketing.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'SMS Marketing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/sms.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Project': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/project.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Surveys': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/survey.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Employees': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/employee' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Recruitment': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/recruitment.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Attendances': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/attendance.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Time Off': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/time-off' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Expenses': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/expense.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Maintenance': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/maintenance.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Live Chat': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/chat.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Lunch': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/restaurant.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Fleet': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/traffic.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Timesheets': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/timesheet' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Events': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/token.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'eLearning': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/elearning' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Members': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/user.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
|
|||
if menu.name == 'Subscriptions': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/subscription.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Documents': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/documents' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Rental': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/rental.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Marketing Automation': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/marketing_automation.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'IoT': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/iot.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Helpdesk': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/help.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Planning': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/planning' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Appraisal': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/appraisal' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Consolidation': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/consolidation.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Payroll': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/payroll.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Barcode': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/barcode.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Quality': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/quality.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'PLM': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/plm.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Field Service': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/field' |
|||
'-service.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Data Cleaning': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/clean' |
|||
'-code.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Approvals': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/approvals' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Referrals': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/referrals' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Discuss': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/discuss.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Social Marketing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/like.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
|
|||
|
|||
def test_post_init_hook(cr): |
|||
""" |
|||
post init hook |
|||
""" |
|||
menu_item = cr['ir.ui.menu'].search([('parent_id', '=', False)]) |
|||
for menu in menu_item: |
|||
if menu.name == 'Contacts': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/contacts' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Link Tracker': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/link.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Dashboards': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/dashboard' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Sales': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/sales.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Accounting': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/accounting.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Inventory': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/inventory' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Purchase': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/purchase' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Calendar': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/calendar' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'CRM': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/crm.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Note': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/notes.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'To-do': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/notes.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Website': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/website.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Point of Sale': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/pos.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Manufacturing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/manufacturing.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Repairs': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/repair.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Email Marketing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/email' |
|||
'-marketing.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'SMS Marketing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/sms.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Project': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/project.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Surveys': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/survey.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Employees': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/employee' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Recruitment': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/recruitment.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Attendances': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/attendance.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Time Off': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/time-off' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Expenses': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/expense.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Maintenance': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/maintenance.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Live Chat': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/chat.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Lunch': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/restuarant.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Fleet': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/traffic.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Timesheets': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/timesheet' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Events': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/token.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'eLearning': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/elearning' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Members': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/user.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
|
|||
if menu.name == 'Subscriptions': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/subscription.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Documents': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/documents' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Rental': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/rental.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Marketing Automation': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/marketing_automation.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'IoT': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/iot.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Helpdesk': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/help.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Planning': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/planning' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Appraisal': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/appraisal' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Consolidation': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons' |
|||
'/consolidation.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Payroll': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/payroll.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Barcode': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/barcode.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Quality': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/quality.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'PLM': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/plm.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Field Service': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/field' |
|||
'-service.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Data Cleaning': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/clean' |
|||
'-code.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Approvals': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/approvals' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Referrals': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/referrals' |
|||
'.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Discuss': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/discuss.png' |
|||
) |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
|||
if menu.name == 'Social Marketing': |
|||
img_path = file_path( |
|||
'code_backend_theme_enterprise/static/src/img/icons/like.png') |
|||
menu.write({'web_icon_data': base64.b64encode(open |
|||
(img_path, |
|||
"rb").read())}) |
@ -0,0 +1 @@ |
|||
xmltodict==0.13.0 |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 195 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 136 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 342 KiB |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 98 KiB |
After Width: | Height: | Size: 137 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 606 KiB |
After Width: | Height: | Size: 606 KiB |
After Width: | Height: | Size: 334 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 218 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 253 KiB |
After Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 99 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 166 KiB |