diff options
| author | sgo@tinyerp.com <> | 2013-06-04 11:06:54 +0530 |
|---|---|---|
| committer | sgo@tinyerp.com <> | 2013-06-04 11:06:54 +0530 |
| commit | bb00be2dfe2f6ceefb34e11ed6c3afbb451e5c0a (patch) | |
| tree | 1e299d0cca264289084b7046c106eab406db625e /addons/note/security | |
| parent | 4bbb78f5317c2001770aca0dadcb2790275d161f (diff) | |
| parent | 95c9d77c9f6330c4f87da460124cc59d4bd852b2 (diff) | |
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130604053654-iioke97u2i18j5jz
Diffstat (limited to 'addons/note/security')
| -rw-r--r-- | addons/note/security/ir.rule.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/note/security/ir.rule.xml b/addons/note/security/ir.rule.xml index b0c79561355..2c6e9f3bc7f 100644 --- a/addons/note/security/ir.rule.xml +++ b/addons/note/security/ir.rule.xml @@ -3,7 +3,7 @@ <data> <record id="note_note_rule_global" model="ir.rule"> <field name="name">Only followers can access a sticky notes</field> - <field model="ir.model" ref="model_note_note" name="model_id"/> + <field ref="model_note_note" name="model_id"/> <field name="domain_force">[('message_follower_ids','=',user.partner_id.id)]</field> <field eval="True" name="global"/> <field eval="1" name="perm_unlink"/> @@ -14,7 +14,7 @@ <record id="note_stage_rule_global" model="ir.rule"> <field name="name">Each user have his stage name</field> - <field model="ir.model" ref="model_note_stage" name="model_id"/> + <field ref="model_note_stage" name="model_id"/> <field name="domain_force">['|',('user_id','=',False),('user_id','=',user.id)]</field> <field eval="True" name="global"/> </record> |
