[FIX] Removing outdated code
bzr revid: rim@openerp.com-20131021121534-fhmeu1k996kzcekr
This commit is contained in:
@@ -1 +0,0 @@
|
||||
import portal_anonymous_survey
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
'name': 'Anonymous portal for Survey',
|
||||
'version': '0.1',
|
||||
'category': 'Tools',
|
||||
'complexity': 'easy',
|
||||
'description': """
|
||||
This module adds authenticate options to survey and portal anonymous are installed.
|
||||
===================================================================================
|
||||
""",
|
||||
'author': 'OpenERP SA',
|
||||
'depends': ['survey','portal_anonymous'],
|
||||
'data': [
|
||||
'portal_anonymous_survey_view.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'auto_install': True,
|
||||
'category': 'Hidden',
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-TODAY OpenERP S.A. <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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
from openerp.osv import fields, osv
|
||||
|
||||
|
||||
class portal_anonymous_survey(osv.osv):
|
||||
_inherit = "survey"
|
||||
_defaults = {
|
||||
'authenticate': False,
|
||||
}
|
||||
|
||||
portal_anonymous_survey()
|
||||
|
||||
# vim: exp and tab: smartindent: tabstop=4: softtabstop=4: shiftwidth=4:
|
||||
@@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="portal_anonymous_survey_view_form" model="ir.ui.view">
|
||||
<field name="name">portal.anonymous.survey</field>
|
||||
<field name="model">survey</field>
|
||||
<field name="inherit_id" ref="survey.survey_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='authenticate']" position="replace">
|
||||
<field name="authenticate"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user