[Merge]: Merged lp:~openerp-dev/openobject-addons/trunk-customer_portal-atp-customer_portal_lead-nco

bzr revid: atp@tinyerp.com-20120418061629-2jp52o7yp02pti0y
This commit is contained in:
Atul Patel (OpenERP)
2012-04-18 11:46:29 +05:30
6 changed files with 78 additions and 3 deletions
@@ -4,11 +4,12 @@
<data>
<menuitem name="Customer Portal" id="customer_portal" />
<menuitem name="Address Book" id="customer_portal_address_book" parent="customer_portal"/>
<menuitem name="Address Book" id="customer_portal_address_book" parent="customer_portal" action="base.action_partner_form"/>
<menuitem name="Track Orders" id="customer_portal_track_orders" parent="customer_portal"/>
<menuitem name="Quotation" id="customer_portal_quotation" parent="customer_portal_track_orders"/>
<menuitem name="Sales Orders" id="customer_portal_sales_orders" parent="customer_portal_track_orders"/>
<menuitem name="Delivery Orders" id="customer_portal_delivery" parent="customer_portal_track_orders"/>
<menuitem name="Registration" id="customer_portal_registration" parent="customer_portal_track_orders"/>
+2 -2
View File
@@ -3,7 +3,7 @@
<data>
<!--
<!--
Sale Portal Demo
-->
@@ -78,4 +78,4 @@
</data>
</openerp>
</openerp>
+23
View File
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# 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/>.
#
##############################################################################
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
@@ -0,0 +1,42 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# 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' : "Customer Portal Claim",
'version' : "0.1",
'category': 'Tools',
'complexity': "easy",
'description': """
This module add the menu if crm and portal_customer is install.
""",
'author' : "OpenERP SA",
'depends' : ["portal_customer","crm"],
'website': 'http://www.openerp.com',
'update_xml': [
'portal_customer_lead_view.xml',
'security/ir.model.access.csv',
],
'installable': True,
'auto_install':True,
'category':'Hidden',
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!-- See the Customer's leads -->
<menuitem name="Leads" id="menu_customer_portal_leads" parent="portal_customer.customer_portal_track_orders" action="crm.crm_case_category_act_leads_all"/>
</data>
</openerp>
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_portal_crm_lead,portal.crm.lead,crm.model_crm_lead,portal_customer.group_sales_portal,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_portal_crm_lead portal.crm.lead crm.model_crm_lead portal_customer.group_sales_portal 1 0 0 0