From 47cb8bede114b886978b022925ae40c883fff689 Mon Sep 17 00:00:00 2001 From: MVA Date: Tue, 17 Apr 2012 10:32:39 +0200 Subject: [PATCH] [IMP] add a new model with an autoinstall true to install claim when customer_portal and crm_claim are installed bzr revid: mva@openerp.com-20120417083239-cjsiup3t796iiarx --- addons/customer_portal_crm_claim/__init__.py | 21 ++++++++++ .../customer_portal_crm_claim/__openerp__.py | 42 +++++++++++++++++++ .../claim_custommer_portal_view.xml | 9 ++++ .../portal_customer/portal_customer_menu.xml | 4 +- 4 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 addons/customer_portal_crm_claim/__init__.py create mode 100644 addons/customer_portal_crm_claim/__openerp__.py create mode 100644 addons/customer_portal_crm_claim/claim_custommer_portal_view.xml diff --git a/addons/customer_portal_crm_claim/__init__.py b/addons/customer_portal_crm_claim/__init__.py new file mode 100644 index 00000000000..26c654db9dd --- /dev/null +++ b/addons/customer_portal_crm_claim/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# 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 . +# +############################################################################## + diff --git a/addons/customer_portal_crm_claim/__openerp__.py b/addons/customer_portal_crm_claim/__openerp__.py new file mode 100644 index 00000000000..5cd979d9ec8 --- /dev/null +++ b/addons/customer_portal_crm_claim/__openerp__.py @@ -0,0 +1,42 @@ +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2011 OpenERP S.A (). +# +# 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 . +# +############################################################################## +{ + 'name' : "Portal Customer claim", + 'version' : "1.0", + 'depends' : ["customer_portal","crm_claim"], + 'author' : "OpenERP SA", + 'category': 'Portal', + 'description': """ + auto_install claim + """, + 'website': 'http://www.openerp.com', + 'data': [ + ], + 'init_xml' : [ + ], + 'demo_xml' : [. + ], + 'update_xml' : [ + 'claim_custommer_portal_view.xml' + ], + 'installable': True, + 'auto_install': True, + #'category': 'Hidden', +} + + diff --git a/addons/customer_portal_crm_claim/claim_custommer_portal_view.xml b/addons/customer_portal_crm_claim/claim_custommer_portal_view.xml new file mode 100644 index 00000000000..c282beacaa2 --- /dev/null +++ b/addons/customer_portal_crm_claim/claim_custommer_portal_view.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/addons/portal_customer/portal_customer_menu.xml b/addons/portal_customer/portal_customer_menu.xml index 7b2907a5473..e008f3177f5 100644 --- a/addons/portal_customer/portal_customer_menu.xml +++ b/addons/portal_customer/portal_customer_menu.xml @@ -19,12 +19,12 @@ - +