~savoirfairelinux-openerp/openerp-mgmtsystem/upgrade-param-fix

« back to all changes in this revision

Viewing changes to mgmtsystem_action/security/mgmtsystem_action_security.xml

  • Committer: Maxime Chambreuil
  • Date: 2013-08-29 19:42:36 UTC
  • mfrom: (74.2.4 openerp-mgmtsystem)
  • Revision ID: maxime.chambreuil@savoirfairelinux.com-20130829194236-qcw1uiyfmpbauym9
[MRG] Multi-company

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data noupdate="1">
 
4
 
 
5
        <!-- Rule -->
 
6
 
 
7
        <record model="ir.rule" id="mgmtsystem_action_rule">
 
8
            <field name="name">mgmtsystem_action multi-company</field>
 
9
            <field name="model_id" ref="model_mgmtsystem_action"/>
 
10
            <field name="global" eval="True"/>
 
11
            <field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
 
12
        </record>
 
13
 
 
14
    </data>
 
15
</openerp>