From 3268cf33a8a6bf2b06355d2c7f77a9981ef797fe Mon Sep 17 00:00:00 2001 From: Cyrille Bollu Date: Sun, 26 Jan 2020 15:21:39 +0100 Subject: [PATCH] [MIG] beesdoo_website_eater: Adaptation for 12.0 --- beesdoo_website_eater/__manifest__.py | 2 +- beesdoo_website_eater/controllers/main.py | 4 ++-- .../views/beesdoo_website_eater_templates.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/beesdoo_website_eater/__manifest__.py b/beesdoo_website_eater/__manifest__.py index 816a0e8..dd37db3 100644 --- a/beesdoo_website_eater/__manifest__.py +++ b/beesdoo_website_eater/__manifest__.py @@ -20,7 +20,7 @@ 'depends': [ 'website', - 'website_portal_v10', + 'portal', 'beesdoo_base', ], diff --git a/beesdoo_website_eater/controllers/main.py b/beesdoo_website_eater/controllers/main.py index ace2c2a..059d14d 100644 --- a/beesdoo_website_eater/controllers/main.py +++ b/beesdoo_website_eater/controllers/main.py @@ -5,10 +5,10 @@ from odoo.http import request -from odoo.addons.website_portal_v10.controllers.main import WebsiteAccount +from odoo.addons.portal.controllers.portal import CustomerPortal -class EaterWebsiteAccount(WebsiteAccount): +class EaterWebsiteAccount(CustomerPortal): def _prepare_portal_layout_values(self): values = super(EaterWebsiteAccount, diff --git a/beesdoo_website_eater/views/beesdoo_website_eater_templates.xml b/beesdoo_website_eater/views/beesdoo_website_eater_templates.xml index 15f061d..901574b 100644 --- a/beesdoo_website_eater/views/beesdoo_website_eater_templates.xml +++ b/beesdoo_website_eater/views/beesdoo_website_eater_templates.xml @@ -10,8 +10,8 @@ id="website_eater_details_side" name="Website Eater Details Side" priority="50" - inherit_id="website_portal_v10.portal_layout"> - + inherit_id="portal.portal_layout"> +