<?xml version="1.0" encoding="utf-8"?>
<openerp>
- <data noupdate="1">
+ <data>
<!-- RULES -->
<record id="mail_group_public_and_joined" model="ir.rule">
<field name="perm_unlink" eval="False"/>
</record>
+ <record id="mail_message_internal_note_employee" model="ir.rule">
+ <field name="name">mail.message</field>
+ <field name="model_id" ref="model_mail_message"/>
+ <field name="groups" eval="[(4, ref('base.group_user'))]"/>
+ <field name="domain_force">[('type', '=', 'comment')]</field>
+ <field name="perm_create" eval="False"/>
+ <field name="perm_unlink" eval="False"/>
+ </record>
+
<!--
This rule can not be uncommented, because we have a more wide method in mail.message. When we implement a many2one_variable field, we will be able to uncomment this.
<record id="mail_message_read_partner_or_author" model="ir.rule">
border: solid 1px rgba(0,0,0,0.03);
}
.openerp .oe_mail .oe_msg.oe_msg_nobody{
- background: #F8F8F8;
+ background: #D3D3D3;
}
.openerp .oe_mail .oe_msg.oe_msg_notification{
background: #F8F8F8;