diff --git a/beesdoo_website_portal/__init__.py b/website_portal_restrict_modification/__init__.py similarity index 100% rename from beesdoo_website_portal/__init__.py rename to website_portal_restrict_modification/__init__.py diff --git a/beesdoo_website_portal/__manifest__.py b/website_portal_restrict_modification/__manifest__.py similarity index 58% rename from beesdoo_website_portal/__manifest__.py rename to website_portal_restrict_modification/__manifest__.py index bbfae4a..5ffe4fb 100644 --- a/beesdoo_website_portal/__manifest__.py +++ b/website_portal_restrict_modification/__manifest__.py @@ -3,16 +3,16 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { - "name": "BEES coop Website Portal", + "name": "Website Portal Restrict Modification", + "version": "12.0.1.0.0", + "depends": ["portal", "website"], "summary": """ - Extension of the Portal that prevent modification of sensible data by the users + Portal extension preventing modification of sensible data by the users """, "author": "Coop IT Easy SCRLfs", "license": "AGPL-3", - "version": "12.0.1.0.0", - "website": "https://www.coopiteasy.be", - "category": "Cooperative management", - "depends": ["portal", "website"], - "data": ["views/portal_website_templates.xml",], + "website": "https://coopiteasy.be/", + "category": "Cooperative Management", + "data": ["views/portal_website_templates.xml"], "installable": True, } diff --git a/beesdoo_website_portal/controllers/__init__.py b/website_portal_restrict_modification/controllers/__init__.py similarity index 100% rename from beesdoo_website_portal/controllers/__init__.py rename to website_portal_restrict_modification/controllers/__init__.py diff --git a/beesdoo_website_portal/controllers/main.py b/website_portal_restrict_modification/controllers/main.py similarity index 95% rename from beesdoo_website_portal/controllers/main.py rename to website_portal_restrict_modification/controllers/main.py index c221bb3..68da976 100644 --- a/beesdoo_website_portal/controllers/main.py +++ b/website_portal_restrict_modification/controllers/main.py @@ -6,7 +6,7 @@ from odoo.addons.portal.controllers.portal import CustomerPortal -class BeesdooAccountWebsiteController(CustomerPortal): +class CustomerPortalRestrictModification(CustomerPortal): # override from `portal` module CustomerPortal.MANDATORY_BILLING_FIELDS = [ "city", diff --git a/beesdoo_website_portal/views/portal_website_templates.xml b/website_portal_restrict_modification/views/portal_website_templates.xml similarity index 91% rename from beesdoo_website_portal/views/portal_website_templates.xml rename to website_portal_restrict_modification/views/portal_website_templates.xml index 721235d..0810362 100644 --- a/beesdoo_website_portal/views/portal_website_templates.xml +++ b/website_portal_restrict_modification/views/portal_website_templates.xml @@ -6,8 +6,8 @@ -