From e21e4e178e50025dc7536d652f587a6b67725b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 31 Oct 2012 17:52:07 +0100 Subject: [PATCH] [FIX] [TMP] mail: tmp fix of Compose a new message box. Also set some fields of the mail.compose.message wizard visible, to ease debugging. This will have to be removed. bzr revid: tde@openerp.com-20121031165207-wnz41v2wrdfhuus0 --- addons/mail/static/src/js/mail.js | 2 +- addons/mail/wizard/mail_compose_message_view.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 20c8b14c817..fad6d40c99f 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -138,7 +138,7 @@ openerp.mail = function (session) { default_parent_id: false }, options.context || {}); // data of this message - this.id = datasets.id || -1, + this.id = datasets.id || false, this.last_id = this.id, this.model = datasets.model || false, this.res_model = datasets.res_model || false; diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 1f00ed419a2..bde84b01a8a 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -8,11 +8,11 @@
- - - - - + + + + +