[IMP]:color of notes , and notes restrict to group hr/employee

bzr revid: aja@tinyerp.com-20130919133829-bthuzij8g78v72cv
This commit is contained in:
ajay javiya (OpenERP)
2013-09-19 19:08:29 +05:30
parent 0d09c2c27f
commit c841fd0ca3
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<data>
<!-- RULES -->
<record id="mail_group_public_and_joined" model="ir.rule">
@@ -38,6 +38,15 @@
<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">
+1 -1
View File
@@ -68,7 +68,7 @@
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;