[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
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
# 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2011 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/>.
|
||||
#
|
||||
##############################################################################
|
||||
{
|
||||
'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',
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<menuitem name="After Sales Services" id="customer_portal_after_sales" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Issues" id="customer_portal_issues" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Claims" id="customer_portal_claims" parent="customer_portal_after_sales" action="crm_claim_categ_action"/>
|
||||
<menuitem name="Feedback" id="customer_portal_feedback" parent="customer_portal_after_sales"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -19,12 +19,12 @@
|
||||
<menuitem name="Events" id="customer_portal_events" parent="customer_portal_services"/>
|
||||
<menuitem name="Products" id="customer_portal_products" parent="customer_portal_services" action="product_normal_action"/>
|
||||
<menuitem name="Tasks" id="customer_portal_tasks" parent="customer_portal_services"/>
|
||||
|
||||
<!--
|
||||
<menuitem name="After Sales Services" id="customer_portal_after_sales" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
<menuitem name="Issues" id="customer_portal_issues" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Claims" id="customer_portal_claims" parent="customer_portal_after_sales"/>
|
||||
<menuitem name="Feedback" id="customer_portal_feedback" parent="customer_portal_after_sales"/>
|
||||
|
||||
-->
|
||||
<menuitem name="Contact Us" id="customer_portal_contact" parent="portal.customer_portal" groups="group_sales_portal"/>
|
||||
|
||||
<!-- Hiding Menus which are not required for Customer Portal user -->
|
||||
|
||||
Reference in New Issue
Block a user