Browse Source

[MIG] beesdoo_website_eater: Adaptation for 12.0

pull/132/head
Cyrille Bollu 5 years ago
parent
commit
3268cf33a8
  1. 2
      beesdoo_website_eater/__manifest__.py
  2. 4
      beesdoo_website_eater/controllers/main.py
  3. 4
      beesdoo_website_eater/views/beesdoo_website_eater_templates.xml

2
beesdoo_website_eater/__manifest__.py

@ -20,7 +20,7 @@
'depends': [
'website',
'website_portal_v10',
'portal',
'beesdoo_base',
],

4
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,

4
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">
<xpath expr="//div[@class='o_my_details']" position="after">
inherit_id="portal.portal_layout">
<xpath expr="//div[@class='o_portal_my_details']" position="after">
<div class="o_my_details_eater">
<h3 class="page-header">Your Eaters</h3>
<p class="text-center">

Loading…
Cancel
Save