[FIX]:fix issue for launch security and user message
bzr revid: aja@tinyerp.com-20121119092652-69f58c4au9rlei95
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user