Browse Source

[MIG] beesdoo_website_portal: 9.0 -> 10.0

- followed main oca guidelines
- not tested on odoo 10.0
pull/156/head
Vincent Van Rossem 4 years ago
parent
commit
96e53b11c5
  1. 2
      beesdoo_website_portal/__init__.py
  2. 20
      beesdoo_website_portal/__manifest__.py
  3. 10
      beesdoo_website_portal/controllers/main.py
  4. 4
      beesdoo_website_portal/views/portal_website_templates.xml

2
beesdoo_website_portal/__init__.py

@ -1,2 +1,2 @@
# -*- coding: utf8 -*- # -*- coding: utf8 -*-
import controllers
from . import controllers

20
beesdoo_website_portal/__openerp__.py → beesdoo_website_portal/__manifest__.py

@ -1,28 +1,24 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2018 Rémy Taymans <remytaymans@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Copyright 2017 - Today Coop IT Easy SCRLfs (<http://www.coopiteasy.be>)
# - Rémy Taymans <remy@coopiteasy.be>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{ {
'name': 'BEES coop Website Portal', 'name': 'BEES coop Website Portal',
'description': """ 'description': """
Extension of the Website Portal that prevent modification of sensible data by the users Extension of the Website Portal that prevent modification of sensible data by the users
""", """,
'author': 'Rémy Taymans',
'author': 'Coop IT Easy SCRLfs',
'license': 'AGPL-3', 'license': 'AGPL-3',
'version': '9.0.1.0',
'website': "https://github.com/beescoop/Obeesdoo",
'version': '10.0.1.0.0',
'website': "https://www.coopiteasy.be",
'category': 'Cooperative management', 'category': 'Cooperative management',
'depends': [ 'depends': [
'website', 'website',
'website_portal_extend', 'website_portal_extend',
], ],
'data': [ 'data': [
'views/portal_website_templates.xml', 'views/portal_website_templates.xml',
]
],
'installable': True,
} }

10
beesdoo_website_portal/controllers/main.py

@ -1,11 +1,11 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2017 - Today Coop IT Easy SCRLfs (<http://www.coopiteasy.be>)
# - Rémy Taymans <remy@coopiteasy.be>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
# Copyright 2017-2018 Rémy Taymans <remytaymans@gmail.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp.addons.website_portal_extend.controllers.main import ExtendWebsiteAccountController
from openerp.http import request
from odoo.addons.website_portal_extend.controllers.main import ExtendWebsiteAccountController
from odoo.http import request
class BeesdooAccountWebsiteController(ExtendWebsiteAccountController): class BeesdooAccountWebsiteController(ExtendWebsiteAccountController):

4
beesdoo_website_portal/views/portal_website_templates.xml

@ -3,7 +3,7 @@
Copyright 2018 Rémy Taymans <remytaymans@gmail.com> Copyright 2018 Rémy Taymans <remytaymans@gmail.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
--> -->
<openerp>
<odoo>
<!-- Modifying the form --> <!-- Modifying the form -->
<template <template
@ -29,4 +29,4 @@
</xpath> </xpath>
</template> </template>
</openerp>
</odoo>
Loading…
Cancel
Save