From ae2cdf7a498ab34bfb1f1d41d14220ca17f4798d Mon Sep 17 00:00:00 2001 From: "Bharat Devnani (OpenERP)" Date: Wed, 4 Apr 2012 19:00:45 +0530 Subject: [PATCH] [ADD] Added access rights to the portal user through demo data bzr revid: bde@tinyerp.com-20120404133045-klv8f8b9wci8hw0y --- addons/portal_customer/__init__.py | 1 - addons/portal_customer/__openerp__.py | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/portal_customer/__init__.py b/addons/portal_customer/__init__.py index 4a812a97cb5..55ddb5dd2bf 100644 --- a/addons/portal_customer/__init__.py +++ b/addons/portal_customer/__init__.py @@ -20,5 +20,4 @@ ############################################################################## import portal_customer - # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/portal_customer/__openerp__.py b/addons/portal_customer/__openerp__.py index 29d568be628..1028f98a4f5 100644 --- a/addons/portal_customer/__openerp__.py +++ b/addons/portal_customer/__openerp__.py @@ -22,7 +22,7 @@ { 'name' : "Portal Customer", 'version' : "1.0", - 'depends' : ["sale"], + 'depends' : ["sale","portal"], 'author' : "OpenERP SA", 'category': 'Portal', 'description': """ @@ -37,8 +37,10 @@ "demo_xml" : [ ], "update_xml" : [ +# "security/ir.model.access.csv", "portal_customer_view.xml", - "email_template.xml" + "email_template.xml", + "portal_demo.xml" ], 'installable': True, }