From 69fcbb8bc3a5a003e3b0c71378eeaa48fe568154 Mon Sep 17 00:00:00 2001 From: "Nimesh (Open ERP)" Date: Tue, 10 Apr 2012 11:01:16 +0530 Subject: [PATCH] Hide the unused menus. bzr revid: nco@tinyerp.com-20120410053116-l8wpzpp95zv3p3mn --- addons/portal_customer_lead/__openerp__.py | 5 ++- .../portal_customer_lead_data.xml | 4 +- .../portal_customer_lead_view.xml | 43 ++++++++++++++++++- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/addons/portal_customer_lead/__openerp__.py b/addons/portal_customer_lead/__openerp__.py index 93878e3e2cd..160264278a5 100644 --- a/addons/portal_customer_lead/__openerp__.py +++ b/addons/portal_customer_lead/__openerp__.py @@ -22,7 +22,7 @@ { 'name' : "Portal", 'version' : "1.0", - 'depends' : ["portal", "crm"], + 'depends' : ["portal_customer", "crm"], 'author' : "OpenERP SA", 'category': 'Portal', 'description': """ @@ -34,8 +34,9 @@ A portal_customer_lead will show the own leads of the customer. 'website': 'http://www.openerp.com', 'update_xml': [ - 'portal_customer_lead_view.xml', 'portal_customer_lead_data.xml', + 'portal_customer_lead_view.xml', + # 'security/ir.model.access.csv', ], 'installable': True, diff --git a/addons/portal_customer_lead/portal_customer_lead_data.xml b/addons/portal_customer_lead/portal_customer_lead_data.xml index e1ff2900732..0b892c6da7c 100644 --- a/addons/portal_customer_lead/portal_customer_lead_data.xml +++ b/addons/portal_customer_lead/portal_customer_lead_data.xml @@ -17,12 +17,12 @@ [('partner_id.email','=',user.login)] - + portal customer lead - + diff --git a/addons/portal_customer_lead/portal_customer_lead_view.xml b/addons/portal_customer_lead/portal_customer_lead_view.xml index d2a0e036527..eac0ba872c9 100644 --- a/addons/portal_customer_lead/portal_customer_lead_view.xml +++ b/addons/portal_customer_lead/portal_customer_lead_view.xml @@ -1,8 +1,47 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + +