[REV] Removed fix, to be inserted in a specific branch.

bzr revid: tde@openerp.com-20121119114125-51fhctk8n79ptx65
This commit is contained in:
Thibault Delavallée 2012-11-19 12:41:25 +01:00
parent 1ec9878370
commit 4d79649b55
1 changed files with 13 additions and 13 deletions

View File

@ -226,21 +226,21 @@ openerp.mail = function (session) {
default_parent_id: false }, options.context || {});
// data of this message
this.id = datasets.id || false,
this.id = datasets.id || false,
this.last_id = this.id,
this.model = datasets.model || this.context.default_model || false,
this.res_id = datasets.res_id || this.context.default_res_id || false,
this.parent_id = datasets.parent_id || false,
this.type = datasets.type || false,
this.is_author = datasets.is_author || false,
this.is_private = datasets.is_private || false,
this.subject = datasets.subject || false,
this.name = datasets.name || false,
this.record_name = datasets.record_name || false,
this.body = datasets.body || '',
this.res_id = datasets.res_id || this.context.default_res_id || false,
this.parent_id = datasets.parent_id || false,
this.type = datasets.type || false,
this.is_author = datasets.is_author || false,
this.is_private = datasets.is_private || false,
this.subject = datasets.subject || false,
this.name = datasets.name || false,
this.record_name = datasets.record_name || false,
this.body = datasets.body || false,
this.vote_nb = datasets.vote_nb || 0,
this.has_voted = datasets.has_voted || false,
this.is_favorite = datasets.is_favorite || false,
this.has_voted = datasets.has_voted || false,
this.is_favorite = datasets.is_favorite || false,
this.thread_level = datasets.thread_level || 0,
this.to_read = datasets.to_read || false,
this.author_id = datasets.author_id || false,
@ -592,7 +592,7 @@ openerp.mail = function (session) {
this.parent_thread.ds_thread.call('message_post_user_api', [
this.context.default_res_id,
body,
false,
false,
this.context.default_parent_id,
attachments,
this.parent_thread.context