[FIX] mail_followers: display_subtypes read first time
bzr revid: chm@openerp.com-20121019132307-s7hvnjltjvc9kndo
This commit is contained in:
parent
aefa8b2337
commit
591c0ff348
|
@ -188,7 +188,7 @@ openerp_mail_followers = function(session, mail) {
|
|||
display_subtypes:function (data) {
|
||||
var self = this;
|
||||
var subtype_list_ul = this.$('.oe_subtypes');
|
||||
var records = data[this.view.dataset.ids[0]].message_subtype_data;
|
||||
var records = data[this.view.datarecord.id || this.view.dataset.ids[0]].message_subtype_data;
|
||||
|
||||
_(records).each(function (record, record_name) {
|
||||
record.name = record_name;
|
||||
|
|
Loading…
Reference in New Issue