[REM] No need for website/signup link module as we cheated @website on decorator
bzr revid: fme@openerp.com-20140211132655-5146xhjaw9so0d38
This commit is contained in:
parent
ebb03132a6
commit
795c8fc0d9
|
@ -1,22 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2012-today OpenERP SA (<http://www.openerp.com>)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License 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 <http://www.gnu.org/licenses/>
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import controllers
|
|
@ -1,39 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2010-2012 OpenERP SA (<http://openerp.com>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License 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 <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Website integration for Signup',
|
||||
'version': '1.0',
|
||||
'category': 'Hidden',
|
||||
'description': """
|
||||
Allow users to sign up on the Website
|
||||
=====================================
|
||||
""",
|
||||
'author': 'OpenERP SA',
|
||||
'website': 'http://www.openerp.com',
|
||||
'depends': ['auth_signup', 'website'],
|
||||
'data': [],
|
||||
'js': [],
|
||||
'css': [],
|
||||
'qweb': [],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
import main
|
||||
|
||||
# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4:
|
|
@ -1,13 +0,0 @@
|
|||
import openerp
|
||||
from openerp import http
|
||||
|
||||
class AuthSignupWebsiteLogin(openerp.addons.web.controllers.main.Home):
|
||||
@http.route(website=True, auth="public", multilang=True)
|
||||
def web_auth_signup(self, *args, **kw):
|
||||
return super(AuthSignupWebsiteLogin, self).web_auth_signup(*args, **kw)
|
||||
|
||||
@http.route(website=True, auth="public", multilang=True)
|
||||
def web_auth_reset_password(self, *args, **kw):
|
||||
return super(AuthSignupWebsiteLogin, self).web_auth_reset_password(*args, **kw)
|
||||
|
||||
# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4:
|
Loading…
Reference in New Issue