diff --git a/customize_settings/README.rst b/customize_settings/README.rst new file mode 100644 index 000000000..fb0d950ef --- /dev/null +++ b/customize_settings/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=================== +Odoo Debranding V16 +=================== + +Debranding of odoo with the given configurations under Website Admin -> Debranding Configurations. +Will replace: + + - Page Title + - Login Page Modification + - User Drop down Odoo links + - POS Odoo logo replaced by company logo + - Odoo Database Selector Logo, Labels + +Installation +============ +- www.odoo.com/documentation/14.0/setup/install.html +- Install our custom addon + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: + V13 Atul Varma + V14 Sachin T + +Contacts +-------- +* Mail Contact : odoo@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 +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ + + diff --git a/customize_settings/__init__.py b/customize_settings/__init__.py new file mode 100644 index 000000000..fed4aede5 --- /dev/null +++ b/customize_settings/__init__.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# +# 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 +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +from . import controllers + +from odoo import api, SUPERUSER_ID + + +def _pre_init_odoo_bot(cr): + env = api.Environment(cr, SUPERUSER_ID, {}) + user = env.ref('base.user_root') + user.name = 'System User' + + +def uninstall_hook_odoo_bot(cr, registry): + env = api.Environment(cr, SUPERUSER_ID, {}) + user = env.ref('base.user_root') + user.name = 'OdooBot' diff --git a/customize_settings/__manifest__.py b/customize_settings/__manifest__.py new file mode 100644 index 000000000..7bc3edec6 --- /dev/null +++ b/customize_settings/__manifest__.py @@ -0,0 +1,55 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# +# 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +############################################################################# + +{ + 'name': "Odoo Debranding V16", + 'version': "16.0.1.0.0", + 'summary': """Odoo Backend and Frontend Debranding In V16""", + 'description': """Odoo Debrand, Odooo Debranding, Debrand, Debranding, Backend Debrand, Frontend Debranding, Odoo Backend and Frontend Debranding""", + 'live_test_url': 'https://www.youtube.com/watch?v=fYSPARjmYA4', + 'author': "Cybrosys Techno Solutions", + 'company': "Cybrosys Techno Solutions", + 'maintainer': "Cybrosys Techno Solutions", + 'website': "https://cybrosys.com/", + 'category': 'Tools', + 'depends': ['website', 'base_setup', 'base', 'web'], + 'data': [ + 'views/ir_module_views.xml', + ], + 'assets': { + 'web.assets_backend': [ + 'customize_settings/static/src/js/web_client.js', + 'customize_settings/static/src/xml/user_menu_items.xml', + 'customize_settings/static/src/js/error_dialogs.js', + 'customize_settings/static/src/js/dialogs.js' + ], + 'web.assets_frontend': [ + ] + }, + 'qweb': ["static/src/xml/base.xml"], + 'images': ['static/description/banner.jpg'], + 'license': "LGPL-3", + 'installable': True, + 'application': False, + 'auto_install': False, + 'pre_init_hook': '_pre_init_odoo_bot', + 'uninstall_hook': 'uninstall_hook_odoo_bot', +} diff --git a/customize_settings/controllers/__init__.py b/customize_settings/controllers/__init__.py new file mode 100644 index 000000000..222da1555 --- /dev/null +++ b/customize_settings/controllers/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2021-TODAY Cybrosys Technologies() +# +# 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 . +# +############################################################################# + +from . import database diff --git a/customize_settings/controllers/database.py b/customize_settings/controllers/database.py new file mode 100644 index 000000000..380cce6cc --- /dev/null +++ b/customize_settings/controllers/database.py @@ -0,0 +1,89 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2022-TODAY Cybrosys Technologies() +# +# 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 . +# +############################################################################# + +import odoo +from odoo import http +from odoo.http import request +from lxml import html +from odoo.addons.base.models.ir_qweb import render as qweb_render + +from odoo.addons.web.controllers.database import Database + +DBNAME_PATTERN = '^[a-zA-Z0-9][a-zA-Z0-9_.-]+$' + +from odoo.tools.misc import file_open + +db_monodb = odoo.tools.config['list_db'] + + +class Debrand(Database): + + def _render_template(self, **d): + website_name = 'Database' + dbname = request.db + uid = (request.session.uid if dbname else None) or odoo.SUPERUSER_ID + + try: + # create an empty registry + registry = odoo.modules.registry.Registry(dbname) + with registry.cursor() as cr: + + cr.execute("""SELECT c.name, c.write_date + FROM res_users u + LEFT JOIN res_company c + ON c.id = u.company_id + WHERE u.id = %s + """, (uid,)) + row = cr.fetchone() + website_name = row[0] + + except Exception: + pass + d.setdefault('manage', True) + d['insecure'] = odoo.tools.config.verify_admin_password('admin') + d['list_db'] = odoo.tools.config['list_db'] + d['langs'] = odoo.service.db.exp_list_lang() + d['countries'] = odoo.service.db.exp_list_countries() + d['pattern'] = DBNAME_PATTERN + + d['website_name'] = website_name + + # databases list + try: + d['databases'] = http.db_list() + d['incompatible_databases'] = odoo.service.db.list_db_incompatible(d['databases']) + except odoo.exceptions.AccessDenied: + d['databases'] = [request.db] if request.db else [] + + templates = {} + + with file_open("customize_settings/static/src/public/database_manager.qweb.html", "r") as fd: + templates['database_manager'] = fd.read() + with file_open("web/static/src/public/database_manager.master_input.qweb.html", "r") as fd: + templates['master_input'] = fd.read() + with file_open("web/static/src/public/database_manager.create_form.qweb.html", "r") as fd: + templates['create_form'] = fd.read() + + def load(template_name): + fromstring = html.document_fromstring if template_name == 'database_manager' else html.fragment_fromstring + return (fromstring(templates[template_name]), template_name) + + return qweb_render('database_manager', d, load) diff --git a/customize_settings/doc/RELEASE_NOTES.md b/customize_settings/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..3cad08a37 --- /dev/null +++ b/customize_settings/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 30.12.2022 +#### Version 16.0.1.0.0 +#### ADD +Initial Commit for customize_settings diff --git a/customize_settings/static/description/assets/icons/check.png b/customize_settings/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/customize_settings/static/description/assets/icons/check.png differ diff --git a/customize_settings/static/description/assets/icons/chevron.png b/customize_settings/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/customize_settings/static/description/assets/icons/chevron.png differ diff --git a/customize_settings/static/description/assets/icons/cogs.png b/customize_settings/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/customize_settings/static/description/assets/icons/cogs.png differ diff --git a/customize_settings/static/description/assets/icons/consultation.png b/customize_settings/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/customize_settings/static/description/assets/icons/consultation.png differ diff --git a/customize_settings/static/description/assets/icons/ecom-black.png b/customize_settings/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/customize_settings/static/description/assets/icons/ecom-black.png differ diff --git a/customize_settings/static/description/assets/icons/education-black.png b/customize_settings/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/customize_settings/static/description/assets/icons/education-black.png differ diff --git a/customize_settings/static/description/assets/icons/hotel-black.png b/customize_settings/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/customize_settings/static/description/assets/icons/hotel-black.png differ diff --git a/customize_settings/static/description/assets/icons/license.png b/customize_settings/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/customize_settings/static/description/assets/icons/license.png differ diff --git a/customize_settings/static/description/assets/icons/lifebuoy.png b/customize_settings/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/customize_settings/static/description/assets/icons/lifebuoy.png differ diff --git a/customize_settings/static/description/assets/icons/manufacturing-black.png b/customize_settings/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/customize_settings/static/description/assets/icons/manufacturing-black.png differ diff --git a/customize_settings/static/description/assets/icons/pos-black.png b/customize_settings/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/customize_settings/static/description/assets/icons/pos-black.png differ diff --git a/customize_settings/static/description/assets/icons/puzzle.png b/customize_settings/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/customize_settings/static/description/assets/icons/puzzle.png differ diff --git a/customize_settings/static/description/assets/icons/restaurant-black.png b/customize_settings/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/customize_settings/static/description/assets/icons/restaurant-black.png differ diff --git a/customize_settings/static/description/assets/icons/service-black.png b/customize_settings/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/customize_settings/static/description/assets/icons/service-black.png differ diff --git a/customize_settings/static/description/assets/icons/trading-black.png b/customize_settings/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/customize_settings/static/description/assets/icons/trading-black.png differ diff --git a/customize_settings/static/description/assets/icons/training.png b/customize_settings/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/customize_settings/static/description/assets/icons/training.png differ diff --git a/customize_settings/static/description/assets/icons/update.png b/customize_settings/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/customize_settings/static/description/assets/icons/update.png differ diff --git a/customize_settings/static/description/assets/icons/user.png b/customize_settings/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/customize_settings/static/description/assets/icons/user.png differ diff --git a/customize_settings/static/description/assets/icons/wrench.png b/customize_settings/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/customize_settings/static/description/assets/icons/wrench.png differ diff --git a/customize_settings/static/description/assets/misc/categories.png b/customize_settings/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/customize_settings/static/description/assets/misc/categories.png differ diff --git a/customize_settings/static/description/assets/misc/check-box.png b/customize_settings/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/customize_settings/static/description/assets/misc/check-box.png differ diff --git a/customize_settings/static/description/assets/misc/compass.png b/customize_settings/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/customize_settings/static/description/assets/misc/compass.png differ diff --git a/customize_settings/static/description/assets/misc/corporate.png b/customize_settings/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/customize_settings/static/description/assets/misc/corporate.png differ diff --git a/customize_settings/static/description/assets/misc/customer-support.png b/customize_settings/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/customize_settings/static/description/assets/misc/customer-support.png differ diff --git a/customize_settings/static/description/assets/misc/cybrosys-logo.png b/customize_settings/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/customize_settings/static/description/assets/misc/cybrosys-logo.png differ diff --git a/customize_settings/static/description/assets/misc/features.png b/customize_settings/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/customize_settings/static/description/assets/misc/features.png differ diff --git a/customize_settings/static/description/assets/misc/logo.png b/customize_settings/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/customize_settings/static/description/assets/misc/logo.png differ diff --git a/customize_settings/static/description/assets/misc/pictures.png b/customize_settings/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/customize_settings/static/description/assets/misc/pictures.png differ diff --git a/customize_settings/static/description/assets/misc/pie-chart.png b/customize_settings/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/customize_settings/static/description/assets/misc/pie-chart.png differ diff --git a/customize_settings/static/description/assets/misc/right-arrow.png b/customize_settings/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/customize_settings/static/description/assets/misc/right-arrow.png differ diff --git a/customize_settings/static/description/assets/misc/star.png b/customize_settings/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/customize_settings/static/description/assets/misc/star.png differ diff --git a/customize_settings/static/description/assets/misc/support.png b/customize_settings/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/customize_settings/static/description/assets/misc/support.png differ diff --git a/customize_settings/static/description/assets/misc/whatsapp.png b/customize_settings/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/customize_settings/static/description/assets/misc/whatsapp.png differ diff --git a/customize_settings/static/description/assets/modules/1.png b/customize_settings/static/description/assets/modules/1.png new file mode 100644 index 000000000..5238bdeab Binary files /dev/null and b/customize_settings/static/description/assets/modules/1.png differ diff --git a/customize_settings/static/description/assets/modules/2.png b/customize_settings/static/description/assets/modules/2.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/customize_settings/static/description/assets/modules/2.png differ diff --git a/customize_settings/static/description/assets/modules/3.png b/customize_settings/static/description/assets/modules/3.png new file mode 100644 index 000000000..3c3ff1afb Binary files /dev/null and b/customize_settings/static/description/assets/modules/3.png differ diff --git a/customize_settings/static/description/assets/modules/4.png b/customize_settings/static/description/assets/modules/4.png new file mode 100644 index 000000000..3fae4631e Binary files /dev/null and b/customize_settings/static/description/assets/modules/4.png differ diff --git a/customize_settings/static/description/assets/modules/5.gif b/customize_settings/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/customize_settings/static/description/assets/modules/5.gif differ diff --git a/customize_settings/static/description/assets/modules/6.png b/customize_settings/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 Binary files /dev/null and b/customize_settings/static/description/assets/modules/6.png differ diff --git a/customize_settings/static/description/assets/screenshots/hero.gif b/customize_settings/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..03c8d490e Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/hero.gif differ diff --git a/customize_settings/static/description/assets/screenshots/hero.png b/customize_settings/static/description/assets/screenshots/hero.png new file mode 100644 index 000000000..38b4b48b6 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/hero.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-1.png b/customize_settings/static/description/assets/screenshots/screenshot-1.png new file mode 100644 index 000000000..a4d0bce06 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-1.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-10.png b/customize_settings/static/description/assets/screenshots/screenshot-10.png new file mode 100644 index 000000000..a899adbf0 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-10.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-11.png b/customize_settings/static/description/assets/screenshots/screenshot-11.png new file mode 100644 index 000000000..729b5d78f Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-11.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-12.png b/customize_settings/static/description/assets/screenshots/screenshot-12.png new file mode 100644 index 000000000..72d3d0dfb Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-12.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-13.png b/customize_settings/static/description/assets/screenshots/screenshot-13.png new file mode 100644 index 000000000..ab441e907 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-13.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-14.png b/customize_settings/static/description/assets/screenshots/screenshot-14.png new file mode 100644 index 000000000..35c72f792 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-14.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-15.png b/customize_settings/static/description/assets/screenshots/screenshot-15.png new file mode 100644 index 000000000..e8aa45ed4 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-15.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-16.png b/customize_settings/static/description/assets/screenshots/screenshot-16.png new file mode 100644 index 000000000..9052f6201 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-16.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-17.png b/customize_settings/static/description/assets/screenshots/screenshot-17.png new file mode 100644 index 000000000..11e323ac7 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-17.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-18.png b/customize_settings/static/description/assets/screenshots/screenshot-18.png new file mode 100644 index 000000000..fd33416b5 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-18.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-19.png b/customize_settings/static/description/assets/screenshots/screenshot-19.png new file mode 100644 index 000000000..36ba81bdc Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-19.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-2.png b/customize_settings/static/description/assets/screenshots/screenshot-2.png new file mode 100644 index 000000000..f236d09e1 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-2.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-20.png b/customize_settings/static/description/assets/screenshots/screenshot-20.png new file mode 100644 index 000000000..6ae024160 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-20.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-3.png b/customize_settings/static/description/assets/screenshots/screenshot-3.png new file mode 100644 index 000000000..059c21fb0 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-3.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-4.png b/customize_settings/static/description/assets/screenshots/screenshot-4.png new file mode 100644 index 000000000..de5072216 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-4.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-5.png b/customize_settings/static/description/assets/screenshots/screenshot-5.png new file mode 100644 index 000000000..66c76cd7f Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-5.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-6.png b/customize_settings/static/description/assets/screenshots/screenshot-6.png new file mode 100644 index 000000000..2200a0451 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-6.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-7.png b/customize_settings/static/description/assets/screenshots/screenshot-7.png new file mode 100644 index 000000000..d727e5bc9 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-7.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-8.png b/customize_settings/static/description/assets/screenshots/screenshot-8.png new file mode 100644 index 000000000..225a5d1f1 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-8.png differ diff --git a/customize_settings/static/description/assets/screenshots/screenshot-9.png b/customize_settings/static/description/assets/screenshots/screenshot-9.png new file mode 100644 index 000000000..ce31d03b7 Binary files /dev/null and b/customize_settings/static/description/assets/screenshots/screenshot-9.png differ diff --git a/customize_settings/static/description/banner.png b/customize_settings/static/description/banner.png new file mode 100644 index 000000000..375055c04 Binary files /dev/null and b/customize_settings/static/description/banner.png differ diff --git a/customize_settings/static/description/icon.png b/customize_settings/static/description/icon.png new file mode 100644 index 000000000..19f940433 Binary files /dev/null and b/customize_settings/static/description/icon.png differ diff --git a/customize_settings/static/description/index.html b/customize_settings/static/description/index.html new file mode 100644 index 000000000..e1e0e491b --- /dev/null +++ b/customize_settings/static/description/index.html @@ -0,0 +1,645 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ + + +

ODOO + DEBRANDING

+

Odoo Backend and Frontend Debranding In V16

+ + + +
+ + +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ Odoo debranding module allows you to debrand odoo backend and front end. +
+ +
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Update User dropdown list + +
+
+
+
+ + Modify Page Title + +
+
+
+
+ + Modify Database Selector Page + +
+
+
+
+ + Change the OdooBot Name + +
+
+ +
+
+ + Odoo Notifications + +
+
+ +
+
+ + Remove Odoo Reference from 'Apps' Module + +
+
+ + +
+ + + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Update User dropdown + list

+

Updated the user + dropdown list. The style of user menu list has changed, and removed some menus.

+

Before install

+ +

After install

+ +
+ +
+

Modify Page Title +

+

Changed title name. + Odoo default title is changed to company's name.

+

Before install

+ +

After install

+ +
+ +
+

Database Manager

+

The user can view the + company logo in the database manager.

+

Before install

+ +

After install

+ +
+ +
+

Database Manager

+

Changed title of + database manager page. It is changed to company's name.

+

Before install

+ +

After install

+ +
+ +
+

Odoo Apps

+

Updated the Apps Views. + Removed 'Learn More' button from the apps kanban view. Removed the author and website from the list + view. Removed the website details from the apps form view.

+

Before install

+ + +

After install

+ + +
+ +
+

Odoo Apps

+

'Upgrade' and + 'Uninstall' button in apps Kanban view: this helps to easily to uninstall and upgrade the modules.

+

Before install

+ +

After install

+ +
+ +
+

OdooBot User + Name

+

Rename "OdooBot" to + "System User"

+

Before install

+ +

After install

+ +
+
+

Odoo Dailog Box

+

Backend Odoo + Notification Updated. It replaces the odoo from the web.dialog.

+

Before install

+ +

After install

+ +
+
+

Odoo Errors

+

Backend Odoo Errors + Updated. Replaced the odoo name from the error boxes

+

Before install

+ +

After install

+ +
+
+
+ + + +
+
+ +
+

Related + Products +

+
+
+
+ +
+
+ + + + +
+
+ +
+

Our Services +

+
+ +
+
+
+
+ +
+
+ Odoo + Customization
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Support
+
+ + +
+
+ +
+
+ Hire + Odoo + Developer
+
+ +
+
+ +
+
+ Odoo + Integration
+
+ +
+
+ +
+
+ Odoo + Migration
+
+ + +
+
+ +
+
+ Odoo + Consultancy
+
+ +
+
+ +
+
+ Odoo + Implementation
+
+ +
+
+ +
+
+ Odoo + Licensing Consultancy
+
+
+ +
+ + + + + +
+
+ +
+

Our + Industries +

+
+ +
+
+
+
+ +
+ Trading +
+

+ Easily procure + and + sell your products

+
+
+ +
+
+ +
+ POS +
+

+ Easy + configuration + and convivial experience

+
+
+ +
+
+ +
+ Education +
+

+ A platform for + educational management

+
+
+ +
+
+ +
+ Manufacturing +
+

+ Plan, track and + schedule your operations

+
+
+ +
+
+ +
+ E-commerce & Website +
+

+ Mobile + friendly, + awe-inspiring product pages

+
+
+ +
+
+ +
+ Service Management +
+

+ Keep track of + services and invoice

+
+
+ +
+
+ +
+ Restaurant +
+

+ Run your bar or + restaurant methodically

+
+
+ +
+
+ +
+ Hotel Management +
+

+ An + all-inclusive + hotel management application

+
+
+
+
+ + + + +
+
+ +
+

Support +

+
+
+
+
+
+
+ +
+
+

Need Help?

+

Got questions or need help? Get in touch.

+ +

+ odoo@cybrosys.com

+
+
+
+
+
+
+
+ +
+
+

WhatsApp

+

Say hi to us on WhatsApp!

+ +

+91 86068 + 27707

+
+
+
+
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/customize_settings/static/src/js/dialogs.js b/customize_settings/static/src/js/dialogs.js new file mode 100644 index 000000000..07df68d94 --- /dev/null +++ b/customize_settings/static/src/js/dialogs.js @@ -0,0 +1,13 @@ +odoo.define('customize_settings.dialog', async function(require){ + "use strict"; + const { Dialog } = require("@web/core/dialog/dialog"); + const { patch } = require("@web/core/utils/patch"); + patch(Dialog.prototype,"customize_settings.Dialog",{ + setup() { + this._super(...arguments); + console.log(this.props) + this.props.title = 'System' + } + }); +}); + diff --git a/customize_settings/static/src/js/error_dialogs.js b/customize_settings/static/src/js/error_dialogs.js new file mode 100644 index 000000000..2bdc180df --- /dev/null +++ b/customize_settings/static/src/js/error_dialogs.js @@ -0,0 +1,47 @@ +odoo.define('customize_settings.error_dialogs', function(require){ + 'use strict'; + + const { odooExceptionTitleMap, ErrorDialog, ClientErrorDialog, NetworkErrorDialog, + RPCErrorDialog, WarningDialog, SessionExpiredDialog } = require("@web/core/errors/error_dialogs"); + const { patch } = require("@web/core/utils/patch"); + const { _lt } = require("@web/core/l10n/translation"); + + ErrorDialog.title=_lt("System Error"); + + ClientErrorDialog.title = _lt('System Client Error'); + + SessionExpiredDialog.title = _lt('System Session Expired'); + + NetworkErrorDialog.title = _lt('System Network Expired'); + + patch(RPCErrorDialog.prototype, 'customize_settings.RPCErrorDialog',{ + inferTitle() { + if (this.props.exceptionName && odooExceptionTitleMap.has(this.props.exceptionName)) { + this.title = odooExceptionTitleMap.get(this.props.exceptionName).toString(); + return; + } + if (!this.props.type) { + return; + } + switch (this.props.type) { + case "server": + this.title = this.env._t("System Server Error"); + break; + case "script": + this.title = this.env._t("System Client Error"); + break; + case "network": + this.title = this.env._t("System Network Error"); + break; + } + } + }); + + patch(WarningDialog.prototype, 'customize_settings.WarningDialog',{ + setup() { + super.setup(); + this.title = this.env._t("System Warning"); + } + }); + +}); diff --git a/customize_settings/static/src/js/web_client.js b/customize_settings/static/src/js/web_client.js new file mode 100644 index 000000000..bd016c506 --- /dev/null +++ b/customize_settings/static/src/js/web_client.js @@ -0,0 +1,32 @@ +odoo.define('customize_settings.web_client',async function(require){ + 'use strict'; + + const{WebClient}=require("@web/webclient/webclient"); + const{patch}=require("@web/core/utils/patch"); + const{useService}=require("@web/core/utils/hooks"); + const{useOwnDebugContext}=require("@web/core/debug/debug_context"); + const{registry}=require("@web/core/registry"); + const{DebugMenu}=require("@web/core/debug/debug_menu"); + const{localization}=require("@web/core/l10n/localization"); + const{useTooltip}=require("@web/core/tooltip/tooltip_hook"); + const rpc=require('web.rpc'); + var session = require('web.session'); + + patch(WebClient.prototype,"customize_settings.WebClient",{ + setup(){ + this.menuService=useService("menu");this._super() + var domain = session.user_context.allowed_company_ids; + var obj = this; + rpc.query({ + fields: ['name','id',], + domain: [['id', 'in', domain]], + model: 'res.company', + method: 'search_read', + }).then(function (result) { + obj.title.setParts({ zopenerp: result[0].name }); // Replacing the name 'Oodo' to selected company name near favicon + }); + + }, + }); +}); + diff --git a/customize_settings/static/src/public/database_manager.qweb.html b/customize_settings/static/src/public/database_manager.qweb.html new file mode 100644 index 000000000..944b4e99f --- /dev/null +++ b/customize_settings/static/src/public/database_manager.qweb.html @@ -0,0 +1,288 @@ + + + + <t t-esc="website_name" /> + + + + + + + + + + + + + + + +
+ +
+
+ Logo + +
The database manager has been disabled by the administrator
+
+ +
+ Warning, your Odoo database manager is not protected.
+ Please set a master password to secure it. +
+
+ +
+
+ +
+ + +
+ + + + + + + +
+ + + +
+
+
+
+
+ +
+ + + +
+
+ + + +
+ +
+ + + + or restore a database +
+
+
+ + + + + + + + + + + + + + + + + + +
+ + diff --git a/customize_settings/static/src/xml/user_menu_items.xml b/customize_settings/static/src/xml/user_menu_items.xml new file mode 100644 index 000000000..787ec7180 --- /dev/null +++ b/customize_settings/static/src/xml/user_menu_items.xml @@ -0,0 +1,36 @@ + + + + + + + User + + + + + + + + + + + + +