diff --git a/odoo-debrand/README.rst b/odoo-debrand/README.rst
deleted file mode 100644
index 7924cb426..000000000
--- a/odoo-debrand/README.rst
+++ /dev/null
@@ -1,57 +0,0 @@
-.. 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
-===============
-
-Debranding of odoo with the given configurations under Website Admin -> Debranding Configurations.
-Will replace:
-
- - Page Title
- - Odoo from Popups
- - Settings Odoo branding Items
- - User Drop down Odoo links
- - Website Title, footer
- - Powered By Odoo on Backend by your company name
- - Odoo label from Dialogues
- - Odoo Database Selector Logo, Labels
- - Copyright @odoo with your company on website page
-
-Installation
-============
-- www.odoo.com/documentation/12.0/setup/install.html
-- Install our custom addon
-
-Company
--------
-* `Cybrosys Techno Solutions `__
-
-Credits
--------
-* Developer:
- V12 Tintuk Tomin
-
-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/odoo-debrand/__init__.py b/odoo-debrand/__init__.py
deleted file mode 100644
index bcf705a3c..000000000
--- a/odoo-debrand/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-#############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies().
-# Author: Tintuk Tomin()
-#
-# You can modify it under the terms of the GNU AFFERO
-# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE
-# (AGPL v3) along with this program.
-# If not, see .
-#
-#############################################################################
-
-from . import controllers
-from . import models
diff --git a/odoo-debrand/__manifest__.py b/odoo-debrand/__manifest__.py
deleted file mode 100644
index 977f03849..000000000
--- a/odoo-debrand/__manifest__.py
+++ /dev/null
@@ -1,43 +0,0 @@
-# -*- coding: utf-8 -*-
-#############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies().
-# Author: Tintuk Tomin()
-#
-# You can modify it under the terms of the GNU AFFERO
-# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE
-# (AGPL v3) along with this program.
-# If not, see .
-#
-#############################################################################
-
-{
- 'name': "Odoo Debranding",
- 'version': "12.0.1.1.2",
- 'summary': """Debrand Odoo""",
- 'description': """Debrand Odoo,Debranding""",
- 'author': "Cybrosys Techno Solutions",
- 'company': "Cybrosys Techno Solutions",
- 'maintainer': "Cybrosys Techno Solutions",
- 'website': "https://cybrosys.com/",
- 'category': 'Tools',
- 'depends': ['base', 'im_livechat', 'website'],
- 'data': [
- 'views/views.xml'
- ],
- 'demo': [],
- 'qweb': ["static/src/xml/base.xml"],
- 'images': ['static/description/debranding_1.gif'],
- 'license': "AGPL-3",
- 'installable': True,
- 'application': False
-}
diff --git a/odoo-debrand/controllers/__init__.py b/odoo-debrand/controllers/__init__.py
deleted file mode 100644
index 8a47105f1..000000000
--- a/odoo-debrand/controllers/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-#############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies().
-# Author: Tintuk Tomin()
-#
-# You can modify it under the terms of the GNU AFFERO
-# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE
-# (AGPL v3) along with this program.
-# If not, see .
-#
-#############################################################################
-
-from . import controllers
\ No newline at end of file
diff --git a/odoo-debrand/controllers/controllers.py b/odoo-debrand/controllers/controllers.py
deleted file mode 100644
index 3ca08f79d..000000000
--- a/odoo-debrand/controllers/controllers.py
+++ /dev/null
@@ -1,133 +0,0 @@
-# -*- coding: utf-8 -*-
-#############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies().
-# Author: Tintuk Tomin()
-#
-# You can modify it under the terms of the GNU AFFERO
-# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE
-# (AGPL v3) along with this program.
-# If not, see .
-#
-#############################################################################
-
-import imghdr
-import json
-import io
-import base64
-import functools
-from odoo import http, tools
-import odoo, os, sys, jinja2
-from odoo.addons.web.controllers.main import Database
-from odoo.addons.web.controllers import main
-from odoo.tools.mimetypes import guess_mimetype
-from odoo.addons.web.controllers.main import Binary
-from odoo.modules import get_resource_path
-from io import StringIO
-from odoo.http import request
-
-if hasattr(sys, 'frozen'):
- # When running on compiled windows binary, we don't have access to package loader.
- path = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'views'))
- loader = jinja2.FileSystemLoader(path)
-else:
- loader = jinja2.PackageLoader('odoo.addons.odoo-debrand', "views")
-env = main.jinja2.Environment(loader=loader, autoescape=True)
-env.filters["json"] = json.dumps
-db_monodb = http.db_monodb
-DBNAME_PATTERN = '^[a-zA-Z0-9][a-zA-Z0-9_.-]+$'
-
-
-class BinaryCustom(Binary):
- @http.route([
- '/web/binary/company_logo',
- '/logo',
- '/logo.png',
- ], type='http', auth="none")
- def company_logo(self, dbname=None, **kw):
- imgname = 'logo'
- imgext = '.png'
- placeholder = functools.partial(get_resource_path, 'web', 'static', 'src', 'img')
- uid = None
- if request.session.db:
- dbname = request.session.db
- uid = request.session.uid
- elif dbname is None:
- dbname = db_monodb()
-
- if not uid:
- uid = odoo.SUPERUSER_ID
-
- if not dbname:
- response = http.send_file(placeholder(imgname + imgext))
- else:
- try:
- # create an empty registry
- registry = odoo.modules.registry.Registry(dbname)
- with registry.cursor() as cr:
- company = int(kw['company']) if kw and kw.get('company') else False
- if company:
- cr.execute("""SELECT logo_web, write_date
- FROM res_company
- WHERE id = %s
- """, (company,))
- else:
- cr.execute("""SELECT c.logo_web, 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()
- if row and row[0]:
- image_base64 = base64.b64decode(row[0])
- image_data = io.BytesIO(image_base64)
- mimetype = guess_mimetype(image_base64, default='image/png')
- imgext = '.' + mimetype.split('/')[1]
- if imgext == '.svg+xml':
- imgext = '.svg'
- response = http.send_file(image_data, filename=imgname + imgext, mimetype=mimetype,
- mtime=row[1])
- else:
- response = http.send_file(placeholder('nologo.png'))
- except Exception:
- response = http.send_file(placeholder(imgname + imgext))
-
- return response
-
-
-class OdooDebrand(Database):
-
- def _render_template(self, **d):
-
- 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
- website_id = request.env['website'].sudo().search([])
- d['website_name'] = website_id and website_id[0].name or ''
- d['company_name'] = website_id and website_id[0].company_id.name or ''
- d['favicon']= website_id and website_id[0].favicon_url or ''
- d['company_logo_url'] = website_id and website_id[0].company_logo_url or ''
-
- # databases list
- d['databases'] = []
- try:
- d['databases'] = http.db_list()
- d['incompatible_databases'] = odoo.service.db.list_db_incompatible(d['databases'])
- except odoo.exceptions.AccessDenied:
- monodb = db_monodb()
- if monodb:
- d['databases'] = [monodb]
- return env.get_template("database_manager_extend.html").render(d)
diff --git a/odoo-debrand/doc/changelog.md b/odoo-debrand/doc/changelog.md
deleted file mode 100644
index eba899b66..000000000
--- a/odoo-debrand/doc/changelog.md
+++ /dev/null
@@ -1,21 +0,0 @@
-## Module
-
-#### 01.01.2019
-#### Version 12.0.1.0.0
-#### ADD
-Initial Commit for odoo-debrand
-
-#### 10.02.2019
-#### Version 12.0.1.0.1
-#### FIX
-Bug Fixed, Issue in New Db Creation
-
-#### 25.09.2019
-#### Version 12.0.1.1.1
-#### FIX
-Bug Fixed, Icon in database manager.
-
-#### 18.09.2020
-#### Version 12.0.1.1.2
-#### FIX
-Bug Fixed, Icon in database manager.
diff --git a/odoo-debrand/models/__init__.py b/odoo-debrand/models/__init__.py
deleted file mode 100644
index 1a621529e..000000000
--- a/odoo-debrand/models/__init__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-#############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies().
-# Author: Tintuk Tomin()
-#
-# You can modify it under the terms of the GNU AFFERO
-# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE
-# (AGPL v3) along with this program.
-# If not, see .
-#
-#############################################################################
-
-from . import models
diff --git a/odoo-debrand/models/models.py b/odoo-debrand/models/models.py
deleted file mode 100644
index 444d3a66f..000000000
--- a/odoo-debrand/models/models.py
+++ /dev/null
@@ -1,43 +0,0 @@
-# -*- coding: utf-8 -*-
-#############################################################################
-#
-# Cybrosys Technologies Pvt. Ltd.
-#
-# Copyright (C) 2019-TODAY Cybrosys Technologies().
-# Author: Tintuk Tomin()
-#
-# You can modify it under the terms of the GNU AFFERO
-# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE
-# (AGPL v3) along with this program.
-# If not, see .
-#
-#############################################################################
-
-import base64
-import os
-from odoo import models, fields, api, tools
-
-
-class OdooDebrand(models.Model):
- _inherit = "website"
-
- def get_company_logo(self):
- id = self.env.user.company_id.id
- self.company_logo_url ="/web/image/res.company/%s/logo"%(id)
-
- def get_favicon(self):
- id = self.env['website'].sudo().search([])
-
- self.favicon_url ="/web/image/website/%s/favicon"%(id[0].id)
- print("Wesite = ", self.favicon_url)
-
- company_logo = fields.Binary()
- favicon_url = fields.Text("Url", compute='get_favicon')
- company_logo_url = fields.Text("Url", compute='get_company_logo')
diff --git a/odoo-debrand/security/ir.model.access.csv b/odoo-debrand/security/ir.model.access.csv
deleted file mode 100644
index abb2b62ff..000000000
--- a/odoo-debrand/security/ir.model.access.csv
+++ /dev/null
@@ -1,2 +0,0 @@
-id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_odoo-debrand_odoo-debrand,odoo-debrand.odoo-debrand,model_odoo-debrand_odoo-debrand,,1,1,1,1
\ No newline at end of file
diff --git a/odoo-debrand/static/description/cybro_logo.png b/odoo-debrand/static/description/cybro_logo.png
deleted file mode 100644
index bb309114c..000000000
Binary files a/odoo-debrand/static/description/cybro_logo.png and /dev/null differ
diff --git a/odoo-debrand/static/description/cybrosys-odoo-debranding-1.jpg b/odoo-debrand/static/description/cybrosys-odoo-debranding-1.jpg
deleted file mode 100644
index ff2227ddf..000000000
Binary files a/odoo-debrand/static/description/cybrosys-odoo-debranding-1.jpg and /dev/null differ
diff --git a/odoo-debrand/static/description/cybrosys-odoo-debranding-2.jpg b/odoo-debrand/static/description/cybrosys-odoo-debranding-2.jpg
deleted file mode 100644
index b9161600b..000000000
Binary files a/odoo-debrand/static/description/cybrosys-odoo-debranding-2.jpg and /dev/null differ
diff --git a/odoo-debrand/static/description/cybrosys-odoo-debranding-3.jpg b/odoo-debrand/static/description/cybrosys-odoo-debranding-3.jpg
deleted file mode 100644
index 4c9c7f86b..000000000
Binary files a/odoo-debrand/static/description/cybrosys-odoo-debranding-3.jpg and /dev/null differ
diff --git a/odoo-debrand/static/description/cybrosys-odoo-debranding-4.jpg b/odoo-debrand/static/description/cybrosys-odoo-debranding-4.jpg
deleted file mode 100644
index cecad49f4..000000000
Binary files a/odoo-debrand/static/description/cybrosys-odoo-debranding-4.jpg and /dev/null differ
diff --git a/odoo-debrand/static/description/cybrosys-odoo-debranding-5.jpg b/odoo-debrand/static/description/cybrosys-odoo-debranding-5.jpg
deleted file mode 100644
index 45bf7dcb2..000000000
Binary files a/odoo-debrand/static/description/cybrosys-odoo-debranding-5.jpg and /dev/null differ
diff --git a/odoo-debrand/static/description/cybrosys-odoo-debranding-6.jpg b/odoo-debrand/static/description/cybrosys-odoo-debranding-6.jpg
deleted file mode 100644
index 3d81182bf..000000000
Binary files a/odoo-debrand/static/description/cybrosys-odoo-debranding-6.jpg and /dev/null differ
diff --git a/odoo-debrand/static/description/debranding_1.gif b/odoo-debrand/static/description/debranding_1.gif
deleted file mode 100644
index e113fb7a8..000000000
Binary files a/odoo-debrand/static/description/debranding_1.gif and /dev/null differ
diff --git a/odoo-debrand/static/description/icon.png b/odoo-debrand/static/description/icon.png
deleted file mode 100644
index ab8f8330e..000000000
Binary files a/odoo-debrand/static/description/icon.png and /dev/null differ
diff --git a/odoo-debrand/static/description/index.html b/odoo-debrand/static/description/index.html
deleted file mode 100644
index 140861701..000000000
--- a/odoo-debrand/static/description/index.html
+++ /dev/null
@@ -1,399 +0,0 @@
-
-
-
- Want to debrand your company website? Odoo Debranding module developed by Cybrosys Technologies
- helps you to change the aesthetic look of Odoo software via customizing them
- with Logo and other branding changes. The module helps you to change almost every area of Odoo visuals,
- delivering a brand new customized website.
-
-
- Configuration
-
-
- In Odoo 12 some of the debranding features are already removed compared to odoo 11. Branding like powered by in
- both front end and back end is removed and website footer and copyright is already changed to company name in Odoo 12.
-
- So in this debranding app, you need to set up the company logo, website name & favicon by your own from the settings option.
-
-
-
-
-
-
-
- Features
-
-
-
- Modify database selector page
-
-
-
- Modify login page
-
-
-
- Remove Odoo's default favicon
-
-
-
- Updated "About" list
-
-
-
- Removed advertisements from the settings page
-
-
-
- Updated warning messages
-
-
-
- Page title modification
-
-
-
-
-
-
-
-
- Screenshots
-
-
-
- As you see in the settings option you need to set up the Website name & favicon then only the change will be affected
- in the title. Also you need to setup the company logo from the settings page to change the default logo.
-
-
-
-
-
-
- Company logo in login page.
-
-
-
-
-
-
- Powered by in the front-end is removed.
-
- Default title is changed.
-
-
-
-
-
-
- Updated the Odoo title in the messages.
-
-
-
-
-
-
- Updated the Odoo title in the warning message
-
-
-
-
-
-
- Odoo promotional banners in the settings dashboard page is changed.
-
- Odoo accounts and documentation is removed from the dropdown list.