summaryrefslogtreecommitdiff
path: root/addons/portal
diff options
context:
space:
mode:
authorvta vta@openerp.com <>2012-12-11 16:18:37 +0100
committervta vta@openerp.com <>2012-12-11 16:18:37 +0100
commit69cee985ffc1d2909f1db20fba620a61f22c77e8 (patch)
treed4aa4ceea8bcbc9bb5273c87d30aa393115c66cb /addons/portal
parent54a4b12103620d9001235d6117c4b54af31204eb (diff)
[FIX] Move portal group definition to data
bzr revid: vta@openerp.com-20121211151837-05brccm8xaebqjvu
Diffstat (limited to 'addons/portal')
-rw-r--r--addons/portal/portal_data.xml10
-rw-r--r--addons/portal/security/portal_security.xml16
2 files changed, 10 insertions, 16 deletions
diff --git a/addons/portal/portal_data.xml b/addons/portal/portal_data.xml
index 9e2bff2b962..08e5b12b8a4 100644
--- a/addons/portal/portal_data.xml
+++ b/addons/portal/portal_data.xml
@@ -2,6 +2,16 @@
<openerp>
<data noupdate="1">
+ <!-- The portal group -->
+ <record id="group_portal" model="res.groups">
+ <field name="name">Portal</field>
+ <field name="comment">Portal members have specific access rights (such as record rules and restricted menus).
+ They usually do not belong to the usual OpenERP groups.</field>
+ <field name="is_portal" eval="True"/>
+ <!-- Insert the template user from auth_signup in the portal members group -->
+ <field name="users" eval="[(4,ref('auth_signup.default_template_user'))]"/>
+ </record>
+
<!-- Mail group for the company's news -->
<record id="company_news_feed" model="mail.group">
<field name="name">Company's news</field>
diff --git a/addons/portal/security/portal_security.xml b/addons/portal/security/portal_security.xml
deleted file mode 100644
index ee0af785599..00000000000
--- a/addons/portal/security/portal_security.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<openerp>
- <data noupdate="1">
-
- <!-- The portal group -->
- <record id="group_portal" model="res.groups">
- <field name="name">Portal</field>
- <field name="comment">Portal members have specific access rights (such as record rules and restricted menus).
- They usually do not belong to the usual OpenERP groups.</field>
- <field name="is_portal" eval="True"/>
- <!-- Insert the template user from auth_signup in the portal members group -->
- <field name="users" eval="[(4,ref('auth_signup.default_template_user'))]"/>
- </record>
-
- </data>
-</openerp>