From b028b74ed0fe39b42de013878987ce6d6d013055 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 8 Nov 2012 15:39:23 +0100 Subject: [PATCH] [FIX] mail: res_model for wall bzr revid: chm@openerp.com-20121108143923-10s9ng38thyqfu1a --- addons/mail/static/src/js/mail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 79fddc42841..4dd5d3a17d9 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -1579,8 +1579,8 @@ openerp.mail = function (session) { this._super(parent, action); this.action = _.clone(action); - this.domain = this.action.domain || this.action.params.domain || []; - this.context = this.action.context || this.action.params.context || {}; + this.domain = this.action.params.domain || this.action.domain || []; + this.context = this.action.params.context || this.action.context || {}; this.defaults = {}; for (var key in this.context) {