summaryrefslogtreecommitdiff
path: root/addons/note/security
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@openerp.com>2012-10-29 21:54:19 +0100
committerFabien Pinckaers <fp@openerp.com>2012-10-29 21:54:19 +0100
commita17c7ad91f6603a45503d0befc61ff0761afab09 (patch)
treeaba070acb4a9c9d16b1dc8ca088d1d73dfad406b /addons/note/security
parent2d3c672d9341981dc60f645eff32739b3d1e6f6d (diff)
[IMP] fancy notes by default
bzr revid: fp@openerp.com-20121029205419-4vsjpab5frvsk0oa
Diffstat (limited to 'addons/note/security')
-rw-r--r--addons/note/security/note_security.xml15
-rw-r--r--addons/note/security/res.groups.csv2
2 files changed, 15 insertions, 2 deletions
diff --git a/addons/note/security/note_security.xml b/addons/note/security/note_security.xml
new file mode 100644
index 00000000000..8f6aa5b3d01
--- /dev/null
+++ b/addons/note/security/note_security.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data>
+
+ <record id="group_note_fancy" model="res.groups">
+ <field name="name">Notes / Fancy mode</field>
+ <field name="category_id" ref="base.module_category_hidden"/>
+ </record>
+
+ <record id="base.group_user" model="res.groups">
+ <field name="implied_ids" eval="[(4, ref('group_note_fancy'))]"/>
+ </record>
+
+</data>
+</openerp>
diff --git a/addons/note/security/res.groups.csv b/addons/note/security/res.groups.csv
deleted file mode 100644
index b54b1b02393..00000000000
--- a/addons/note/security/res.groups.csv
+++ /dev/null
@@ -1,2 +0,0 @@
-id,name,implied_ids/id,category_id/id
-group_note_fancy,Notes / Fancy mode,,base.module_category_hidden