[IMP] add module to add menu to customer partner when both module are installed

bzr revid: mva@openerp.com-20120417094839-b1xx4sbl2g9ijrn4
This commit is contained in:
MVA
2012-04-17 11:48:39 +02:00
parent 96e288a7f9
commit 01c7a8c8b6
8 changed files with 142 additions and 5 deletions
@@ -9,18 +9,19 @@
<menuitem name="Quotation" id="customer_portal_quotation" parent="customer_portal_track_orders" action="sale.action_order_tree5"/>
<menuitem name="Sales Orders" id="customer_portal_sales_orders" parent="customer_portal_track_orders" action="sale.action_order_form"/>
<menuitem name="Delivery Orders" id="customer_portal_delivery" parent="customer_portal_track_orders" action="action_picking_tree"/>
<menuitem name="Registration" id="customer_portal_registration" parent="customer_portal_track_orders"/>
<!--<menuitem name="Registration" id="customer_portal_registration" parent="customer_portal_track_orders"/>-->
<menuitem name="Invoice and Payments" id="customer_portal_invoice_payements" parent="portal.customer_portal" groups="group_sales_portal"/>
<menuitem name="Invoice" id="customer_portal_invoice" parent="customer_portal_invoice_payements" action="account.action_invoice_tree1"/>
<menuitem name="Payments" id="customer_portal_payments" parent="customer_portal_invoice_payements" action="account_voucher.action_vendor_receipt"/>
<menuitem name="Services" id="customer_portal_services" parent="portal.customer_portal" groups="group_sales_portal"/>
<menuitem name="Events" id="customer_portal_events" parent="customer_portal_services"/>
<!-- <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="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"/>
+1 -1
View File
@@ -35,6 +35,6 @@
],
'installable': True,
'auto_install':True,
'category':'hidden',
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+21
View File
@@ -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,41 @@
# -*- 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/>.
#
##############################################################################
{
'name': 'Customer Portal Event',
'version': '0.1',
'category': 'Tools',
'complexity': "easy",
'description': """
This module add the menu if claim and portal_customer is install.
""",
'author': 'OpenERP SA',
'depends': ['event','portal_customer'],
'update_xml': [
'portal_customer_event_view.xml',
],
'installable': True,
'auto_install':True,
'category':'hidden',
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
@@ -0,0 +1,6 @@
<openerp>
<data>
<menuitem name="Registration" id="customer_portal_registration" parent="customer_portal_track_orders"/>
<menuitem name="Events" id="customer_portal_events" parent="customer_portal_services"/>
</data>
</openerp>
+21
View File
@@ -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,41 @@
# -*- 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/>.
#
##############################################################################
{
'name': 'Customer Portal Issue',
'version': '0.1',
'category': 'Tools',
'complexity': "easy",
'description': """
This module add the menu if claim and portal_customer is install.
""",
'author': 'OpenERP SA',
'depends': ['project_issue','portal_customer'],
'update_xml': [
'portal_customer_issue_view.xml',
],
'installable': True,
'auto_install':True,
'category':'hidden',
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
@@ -0,0 +1,6 @@
<openerp>
<data>
<menuitem name="Tasks" id="customer_portal_tasks" parent="customer_portal_services"/>
<menuitem name="Issues" id="customer_portal_issues" parent="customer_portal_after_sales"/>
</data>
</openerp>