summaryrefslogtreecommitdiff
path: root/addons/note
diff options
context:
space:
mode:
Diffstat (limited to 'addons/note')
-rw-r--r--addons/note/html/index.html1
-rw-r--r--addons/note/security/ir.rule.xml4
2 files changed, 2 insertions, 3 deletions
diff --git a/addons/note/html/index.html b/addons/note/html/index.html
index 4e7db34df58..7ef37c646e9 100644
--- a/addons/note/html/index.html
+++ b/addons/note/html/index.html
@@ -7,7 +7,6 @@
<a href="https://www.openerp.com/saas_master/demo?lang=en_US&module=note">
<img src="notes_sc_00.png">
</a>
- <span class="oe_demo_play">&nbsp;</span>
<div class="oe_demo_footer oe_centeralign">Online Demo</div>
</div>
</div>
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>