From baaa86f9cd6c4f3c522dd2fd94b4707648917ce5 Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Mon, 9 Apr 2012 10:20:34 +0530 Subject: [PATCH] [ADD] added the menu items and assigned proper groups accordingly and improved the module bzr revid: bde@tinyerp.com-20120409045034-xtqy3gt5lh53dp3r --- addons/portal_customer/__openerp__.py | 2 +- .../portal_customer/portal_customer_view.xml | 27 +++++++++++++++---- addons/portal_customer/portal_demo.xml | 7 ++--- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/addons/portal_customer/__openerp__.py b/addons/portal_customer/__openerp__.py index fcecb007808..57a45822b34 100644 --- a/addons/portal_customer/__openerp__.py +++ b/addons/portal_customer/__openerp__.py @@ -38,8 +38,8 @@ ], "update_xml" : [ # "security/ir.model.access.csv", + "portal_demo.xml", "portal_customer_view.xml", - "portal_demo.xml" ], 'installable': True, } diff --git a/addons/portal_customer/portal_customer_view.xml b/addons/portal_customer/portal_customer_view.xml index 3108f051c3b..311fa3b9199 100644 --- a/addons/portal_customer/portal_customer_view.xml +++ b/addons/portal_customer/portal_customer_view.xml @@ -4,16 +4,16 @@ - + - - - + + + - + @@ -28,6 +28,23 @@ + + + + + + + + + + + + + + + + + diff --git a/addons/portal_customer/portal_demo.xml b/addons/portal_customer/portal_demo.xml index 3d6fdb3285a..95fe69490bd 100644 --- a/addons/portal_customer/portal_demo.xml +++ b/addons/portal_customer/portal_demo.xml @@ -8,21 +8,21 @@ --> - Personal Leads + Personal Quotations/Sales ['|',('partner_id.email','=',user.login),('user_id','=',False)] - Personal Leads + Personal Delivery Orders [('partner_id.email','=',user.login)] - Personal Leads + Personal Account Invoices [('partner_id.email','=',user.login)] @@ -30,6 +30,7 @@ Sales Portal +