diff --git a/website_maintenance_page/README.rst b/website_maintenance_page/README.rst new file mode 100644 index 000000000..070421666 --- /dev/null +++ b/website_maintenance_page/README.rst @@ -0,0 +1,48 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Website Maintenance Page +======================== +* Website Maintenance Page module for Odoo 15. + +Installation +============ +- www.odoo.com/documentation/15.0/administration/install.html +- Install our custom addon + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developers: (V15) Sabeel B, + Contact: odoo@cybrosys.com + + +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 https://www.cybrosys.com + +Further information +=================== +HTML Description: ``__ diff --git a/website_maintenance_page/__init__.py b/website_maintenance_page/__init__.py new file mode 100644 index 000000000..e17b87a7c --- /dev/null +++ b/website_maintenance_page/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +from . import controllers +from . import models diff --git a/website_maintenance_page/__manifest__.py b/website_maintenance_page/__manifest__.py new file mode 100644 index 000000000..a7ab67891 --- /dev/null +++ b/website_maintenance_page/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +{ + 'name': 'Website Maintenance Page', + 'version': '15.0.1.0.0', + 'category': 'Website', + 'summary': 'Shows maintenance page for public users', + 'description': 'The app allows users to redirect all website public ' + 'pages to maintenance pages', + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['website_sale'], + 'data': ['views/res_config_settings_views.xml', + 'views/maintenance_templates.xml' + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/website_maintenance_page/controllers/__init__.py b/website_maintenance_page/controllers/__init__.py new file mode 100644 index 000000000..2b722d1d3 --- /dev/null +++ b/website_maintenance_page/controllers/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +from . import website_maintenance diff --git a/website_maintenance_page/controllers/website_maintenance.py b/website_maintenance_page/controllers/website_maintenance.py new file mode 100644 index 000000000..201ce88b4 --- /dev/null +++ b/website_maintenance_page/controllers/website_maintenance.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +from odoo import http +from odoo.http import request + + +class UnderMaintenance(http.Controller): + """Redirect Maintenance Page""" + @http.route('/maintenance', website=True, page=True, + auth='public', csrf=False) + def maintenance_request_thanks(self): + """Maintenance Page""" + return (request.render + ('website_maintenance.customers_request_thank_page')) diff --git a/website_maintenance_page/doc/RELEASE_NOTES.md b/website_maintenance_page/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..56253cbdf --- /dev/null +++ b/website_maintenance_page/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module +#### 03.04.2024 +#### Version 15.0.1.0.0 +#### ADD +- Initial commit for Website Maintenance Page diff --git a/website_maintenance_page/models/__init__.py b/website_maintenance_page/models/__init__.py new file mode 100644 index 000000000..0a2986ee7 --- /dev/null +++ b/website_maintenance_page/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +from . import res_config_settings +from . import website diff --git a/website_maintenance_page/models/res_config_settings.py b/website_maintenance_page/models/res_config_settings.py new file mode 100644 index 000000000..bc0f3ed42 --- /dev/null +++ b/website_maintenance_page/models/res_config_settings.py @@ -0,0 +1,63 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +from odoo import fields, models + + +class ResConfigSettings(models.TransientModel): + """Inheriting ResConfigSettings Model. + This class extends the functionality of the 'res.config.settings' + model.It allows customizing and managing configuration settings + for the module""" + _inherit = 'res.config.settings' + + is_under_maintenance = fields.Boolean( + string="Under Maintenance", + related="website_id.under_maintenance", + readonly=False, + help="Enable or disable to show Maintenance page") + maintenance_header = fields.Char(string="Maintenance Header", + related="website_id.maintenance_hdr", + readonly=False, + help="Add Maintenance header to show " + "on the website") + maintenance_hdr_color = fields.Char(string="Header Color", + related="website_id." + "maintenance_hdr_color", + readonly=False, + help="Choose Header Color") + maintenance_cont_color = fields.Char(string="Content Color", + related="website_id." + "maintenance_cont_color", + readonly=False, + help="Choose Content Color") + maintenance_message = fields.Char(string="Maintenance Info", + related="website_id.maintenance_msg", + readonly=False, + help="Add Maintenance message " + "regarding scheduled days/" + "available options/reason etc") + maintenance_img = fields.Binary(string="Maintenance Image", + related="website_id.maintenance_img", + readonly=False, + help="Display an image to show on " + "the maintenance page") diff --git a/website_maintenance_page/models/website.py b/website_maintenance_page/models/website.py new file mode 100644 index 000000000..ca9ee88c0 --- /dev/null +++ b/website_maintenance_page/models/website.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# 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 for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################# +from odoo import fields, models + + +class Website(models.Model): + """Inheriting website to add new fields""" + _inherit = 'website' + + under_maintenance = fields.Boolean(string="Under Maintenance", + help="Enable or disable to show " + "maintenance page") + maintenance_msg = fields.Char(string="Maintenance Message", + help="Pass a message to load on " + "maintenance page") + maintenance_hdr = fields.Char(string="Maintenance Header", + help="Display maintenance header in " + "maintenance page") + maintenance_hdr_color = fields.Char(string="Header Color", + help="Choose Header Color") + maintenance_cont_color = fields.Char(string="Content Color", + help="Choose Content Color") + maintenance_img = fields.Binary(string="Maintenance Image", + help="Image to load on maintenance page") diff --git a/website_maintenance_page/static/description/assets/icons/check.png b/website_maintenance_page/static/description/assets/icons/check.png new file mode 100644 index 000000000..ea0da5029 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/check.png differ diff --git a/website_maintenance_page/static/description/assets/icons/chevron.png b/website_maintenance_page/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..f49dd8541 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/chevron.png differ diff --git a/website_maintenance_page/static/description/assets/icons/cogs.png b/website_maintenance_page/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/cogs.png differ diff --git a/website_maintenance_page/static/description/assets/icons/consultation.png b/website_maintenance_page/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/consultation.png differ diff --git a/website_maintenance_page/static/description/assets/icons/ecom-black.png b/website_maintenance_page/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/ecom-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/education-black.png b/website_maintenance_page/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/education-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/hotel-black.png b/website_maintenance_page/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/hotel-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/icon.png b/website_maintenance_page/static/description/assets/icons/icon.png new file mode 100644 index 000000000..61b0eb171 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/icon.png differ diff --git a/website_maintenance_page/static/description/assets/icons/license.png b/website_maintenance_page/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/license.png differ diff --git a/website_maintenance_page/static/description/assets/icons/lifebuoy.png b/website_maintenance_page/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/lifebuoy.png differ diff --git a/website_maintenance_page/static/description/assets/icons/logo.png b/website_maintenance_page/static/description/assets/icons/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/logo.png differ diff --git a/website_maintenance_page/static/description/assets/icons/manufacturing-black.png b/website_maintenance_page/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/manufacturing-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/pos-black.png b/website_maintenance_page/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/pos-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/puzzle.png b/website_maintenance_page/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/puzzle.png differ diff --git a/website_maintenance_page/static/description/assets/icons/restaurant-black.png b/website_maintenance_page/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/restaurant-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/service-black.png b/website_maintenance_page/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/service-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/trading-black.png b/website_maintenance_page/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/trading-black.png differ diff --git a/website_maintenance_page/static/description/assets/icons/training.png b/website_maintenance_page/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/training.png differ diff --git a/website_maintenance_page/static/description/assets/icons/update.png b/website_maintenance_page/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/update.png differ diff --git a/website_maintenance_page/static/description/assets/icons/user.png b/website_maintenance_page/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/user.png differ diff --git a/website_maintenance_page/static/description/assets/icons/wrench.png b/website_maintenance_page/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/website_maintenance_page/static/description/assets/icons/wrench.png differ diff --git a/website_maintenance_page/static/description/assets/misc/categories.png b/website_maintenance_page/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/categories.png differ diff --git a/website_maintenance_page/static/description/assets/misc/check-box.png b/website_maintenance_page/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/check-box.png differ diff --git a/website_maintenance_page/static/description/assets/misc/compass.png b/website_maintenance_page/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/compass.png differ diff --git a/website_maintenance_page/static/description/assets/misc/corporate.png b/website_maintenance_page/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/corporate.png differ diff --git a/website_maintenance_page/static/description/assets/misc/customer-support.png b/website_maintenance_page/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/customer-support.png differ diff --git a/website_maintenance_page/static/description/assets/misc/cybrosys-logo.png b/website_maintenance_page/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/cybrosys-logo.png differ diff --git a/website_maintenance_page/static/description/assets/misc/features.png b/website_maintenance_page/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/features.png differ diff --git a/website_maintenance_page/static/description/assets/misc/logo.png b/website_maintenance_page/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/logo.png differ diff --git a/website_maintenance_page/static/description/assets/misc/pictures.png b/website_maintenance_page/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/pictures.png differ diff --git a/website_maintenance_page/static/description/assets/misc/pie-chart.png b/website_maintenance_page/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/pie-chart.png differ diff --git a/website_maintenance_page/static/description/assets/misc/right-arrow.png b/website_maintenance_page/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/right-arrow.png differ diff --git a/website_maintenance_page/static/description/assets/misc/star.png b/website_maintenance_page/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/star.png differ diff --git a/website_maintenance_page/static/description/assets/misc/support.png b/website_maintenance_page/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/support.png differ diff --git a/website_maintenance_page/static/description/assets/misc/whatsapp.png b/website_maintenance_page/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/website_maintenance_page/static/description/assets/misc/whatsapp.png differ diff --git a/website_maintenance_page/static/description/assets/modules/budget_image.png b/website_maintenance_page/static/description/assets/modules/budget_image.png new file mode 100644 index 000000000..b50130c7d Binary files /dev/null and b/website_maintenance_page/static/description/assets/modules/budget_image.png differ diff --git a/website_maintenance_page/static/description/assets/modules/credit_image.png b/website_maintenance_page/static/description/assets/modules/credit_image.png new file mode 100644 index 000000000..3ad04ecfd Binary files /dev/null and b/website_maintenance_page/static/description/assets/modules/credit_image.png differ diff --git a/website_maintenance_page/static/description/assets/modules/employee_image.png b/website_maintenance_page/static/description/assets/modules/employee_image.png new file mode 100644 index 000000000..30ad58232 Binary files /dev/null and b/website_maintenance_page/static/description/assets/modules/employee_image.png differ diff --git a/website_maintenance_page/static/description/assets/modules/export_image.png b/website_maintenance_page/static/description/assets/modules/export_image.png new file mode 100644 index 000000000..492980ad0 Binary files /dev/null and b/website_maintenance_page/static/description/assets/modules/export_image.png differ diff --git a/website_maintenance_page/static/description/assets/modules/gantt_image.png b/website_maintenance_page/static/description/assets/modules/gantt_image.png new file mode 100644 index 000000000..1ae7cfe3b Binary files /dev/null and b/website_maintenance_page/static/description/assets/modules/gantt_image.png differ diff --git a/website_maintenance_page/static/description/assets/modules/quotation_image.png b/website_maintenance_page/static/description/assets/modules/quotation_image.png new file mode 100644 index 000000000..499b1a72f Binary files /dev/null and b/website_maintenance_page/static/description/assets/modules/quotation_image.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/hero.gif b/website_maintenance_page/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..b94ee49f8 Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/hero.gif differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_001.png b/website_maintenance_page/static/description/assets/screenshots/scrn_001.png new file mode 100644 index 000000000..4838fbc3c Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_001.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_002.png b/website_maintenance_page/static/description/assets/screenshots/scrn_002.png new file mode 100644 index 000000000..533835079 Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_002.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_003.png b/website_maintenance_page/static/description/assets/screenshots/scrn_003.png new file mode 100644 index 000000000..3819d7118 Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_003.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_004.png b/website_maintenance_page/static/description/assets/screenshots/scrn_004.png new file mode 100644 index 000000000..a91d0d27f Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_004.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_005.png b/website_maintenance_page/static/description/assets/screenshots/scrn_005.png new file mode 100644 index 000000000..f435e097d Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_005.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_006.png b/website_maintenance_page/static/description/assets/screenshots/scrn_006.png new file mode 100644 index 000000000..5538cba83 Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_006.png differ diff --git a/website_maintenance_page/static/description/assets/screenshots/scrn_007.png b/website_maintenance_page/static/description/assets/screenshots/scrn_007.png new file mode 100644 index 000000000..759ac89a7 Binary files /dev/null and b/website_maintenance_page/static/description/assets/screenshots/scrn_007.png differ diff --git a/website_maintenance_page/static/description/banner.jpg b/website_maintenance_page/static/description/banner.jpg new file mode 100644 index 000000000..8049536b1 Binary files /dev/null and b/website_maintenance_page/static/description/banner.jpg differ diff --git a/website_maintenance_page/static/description/icon.png b/website_maintenance_page/static/description/icon.png new file mode 100644 index 000000000..5c40dcf09 Binary files /dev/null and b/website_maintenance_page/static/description/icon.png differ diff --git a/website_maintenance_page/static/description/index.html b/website_maintenance_page/static/description/index.html new file mode 100644 index 000000000..e6234027e --- /dev/null +++ b/website_maintenance_page/static/description/index.html @@ -0,0 +1,627 @@ +
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+ +
+
+
+
+ +
+
+
+
+

+ Website Maintenance Page

+
+

+ Restrict Public Users While Website is Under Maintenance. +

+ +
+
+
+ +
+
+

+ Explore this module

+ +
+
+
+ +
+
+

+ Overview

+
+

+ This Module helps to restrict public users from maintenance.User can customize the maintenance page by choosing + image,header, message from website config settings +

+
+
+ +
+
+

+ Features

+
+
+
+
+ + Easy Configuration. + +
+ +
+ + Restrict Public Users for Maintenance. + +
+ +
+ + Under Maintenance Page. + +
+
+
+
+ + Choose Image, Header and Message for Maintenance Page. + +
+ +
+ + Available in Odoo 15.0 + Community and Enterprise. +
+
+
+
+
+ + +
+
+

+ Screenshots

+
+ +
+
+ +

Configure Website Maintenance. +

+

Under website configuration settings user can configure Website Maintenance.

+ + +
+ +
+
+ +

Login as a Public User. +

+

Set a public user for testing and login as corresponding public user.

+ +
+
+ +
+
+ +

Restricted Public Pages For Public Users. +

+
+ + + +
+ +
+
+ +

Except Login Page. +

+

Restrictions except login page.

+ +
+
+
+
+
+ + +
+
+

+ Suggested 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

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

+ Need Help?

+
+
+
+ + +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+ + +
diff --git a/website_maintenance_page/views/maintenance_templates.xml b/website_maintenance_page/views/maintenance_templates.xml new file mode 100644 index 000000000..07b6bac0d --- /dev/null +++ b/website_maintenance_page/views/maintenance_templates.xml @@ -0,0 +1,55 @@ + + + + + diff --git a/website_maintenance_page/views/res_config_settings_views.xml b/website_maintenance_page/views/res_config_settings_views.xml new file mode 100644 index 000000000..1e2a58af7 --- /dev/null +++ b/website_maintenance_page/views/res_config_settings_views.xml @@ -0,0 +1,88 @@ + + + + + + res.config.settings.view.form.inherit.website.maintenance.page + + res.config.settings + + +
+

Website Maintenance

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + website.view.form.inherit.website.maintenance + website + + primary + + + + + + + + + + + +