fixed problem with mail
bzr revid: nicolas.vanhoren@openerp.com-20121012110943-b1fhnutsokyazh22
This commit is contained in:
parent
fc94df2af5
commit
c82642a2df
|
@ -1017,9 +1017,7 @@ openerp.mail = function(session) {
|
|||
this.$el.toggle(this.view.get("actual_mode") !== "create");
|
||||
},
|
||||
|
||||
set_value: function() {
|
||||
var self = this;
|
||||
this._super.apply(this, arguments);
|
||||
render_value: function() {
|
||||
if (! this.view.datarecord.id || session.web.BufferedDataSet.virtual_id_regex.test(this.view.datarecord.id)) {
|
||||
this.$('oe_mail_thread').hide();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue