[FIX]:fix issue for launch security and user message

bzr revid: aja@tinyerp.com-20121119092652-69f58c4au9rlei95
This commit is contained in:
ajay javiya (OpenERP)
2012-11-19 14:56:52 +05:30
parent 66afff1b52
commit c984e286f6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
<data>
<record id="group_lunch_manager" model="res.groups">
<field name="name">Lunch / Manager</field>
<field name="implied_ids" eval="[(4, ref('group_lunch_user'))]"/>
</record>
<record id="group_lunch_user" model="res.groups">
<field name="name">Lunch / User</field>
+1 -1
View File
@@ -274,7 +274,7 @@ openerp.mail = function (session) {
//formating and add some fields for render
if (this._date) {
this.date = session.web.format_value(this._date, {type:"datetime"});
this.timerelative = $.timeago(this.date);
this.timerelative = $.timeago(this._date);
}
if (this.type == 'email' && (!this.author_id || !this.author_id[0])) {
this.avatar = ('/mail/static/src/img/email_icon.png');