~humbertoarocha/+junk/oa_val

« back to all changes in this revision

Viewing changes to openacademy/security/groups.xml

  • Committer: Humberto Arocha
  • Date: 2013-03-22 13:13:38 UTC
  • Revision ID: humbertoarocha@gmail.com-20130322131338-lqeqf9ib226831kh
Exercise 2 - Add access control through data files in your module
Using an XML data file, create a group “OpenAcademy / Manager”, with no access
rights defined yet (just create an empty group).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <!--
 
4
    Setting data attribute noupdate to zero
 
5
    makes openerp update all records within data node,
 
6
    otherwise the records will not be udpated
 
7
    -->
 
8
    <data noupdate='1'>
 
9
        <record id="group_manager" model="res.groups">
 
10
            <field name="name">OpenAcademy / Manager</field>
 
11
        </record>
 
12
    </data>
 
13
</openerp>