diff --git a/addons/portal_customer_lead/__openerp__.py b/addons/portal_customer_lead/__openerp__.py index 160264278a5..f0d4d043edc 100644 --- a/addons/portal_customer_lead/__openerp__.py +++ b/addons/portal_customer_lead/__openerp__.py @@ -34,9 +34,9 @@ A portal_customer_lead will show the own leads of the customer. 'website': 'http://www.openerp.com', 'update_xml': [ - 'portal_customer_lead_data.xml', + 'portal_customer_lead_view.xml', - + 'portal_customer_lead_data.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 0b892c6da7c..ff6ccaa8de8 100644 --- a/addons/portal_customer_lead/portal_customer_lead_data.xml +++ b/addons/portal_customer_lead/portal_customer_lead_data.xml @@ -1,9 +1,9 @@ - + - customer lead + Customer Lead True True @@ -11,17 +11,34 @@ - customer lead + Customer Lead [('partner_id.email','=',user.login)] + + + + Customer Contact + + True + True + True + + + + Customer Contact + + + [('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 eac0ba872c9..29607054ef3 100644 --- a/addons/portal_customer_lead/portal_customer_lead_view.xml +++ b/addons/portal_customer_lead/portal_customer_lead_view.xml @@ -3,12 +3,9 @@ - - - - - + + @@ -16,32 +13,27 @@ - - - + groups="base.group_sale_salesman"/--> + + + - - - - + + Feeds + 0 + + + + +