[FIX] mail: To: Followers of 'Undefined' became To: Followers of this document
bzr revid: chm@openerp.com-20121112083936-i87pc2fecce7ektg
This commit is contained in:
@@ -397,6 +397,7 @@ openerp.mail = function (session) {
|
||||
this._super(parent, datasets, options);
|
||||
this.show_compact_message = false;
|
||||
this.show_delete_attachment = true;
|
||||
console.log(this);
|
||||
},
|
||||
|
||||
start: function () {
|
||||
@@ -1536,6 +1537,8 @@ openerp.mail = function (session) {
|
||||
}, this.node.params);
|
||||
|
||||
this.domain = this.node.params && this.node.params.domain || [];
|
||||
|
||||
console.log(this);
|
||||
},
|
||||
|
||||
start: function () {
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
<t t-name="mail.thread.list_recipients">
|
||||
<div class="oe_mail_list_recipients">
|
||||
To:
|
||||
<span t-if="!widget.is_private" class="oe_all_follower">Followers <t t-raw="' of "' + widget.parent_thread.parent_message.record_name + '"' "/></span>
|
||||
<span t-if="!widget.is_private" class="oe_all_follower">Followers <t t-raw="' of ' + (widget.parent_thread.parent_message.record_name ? '"' + widget.parent_thread.parent_message.record_name + '"' : 'this document')"/></span>
|
||||
<t t-if="!widget.is_private and widget.partner_ids.length"> and </t>
|
||||
<t t-set="inc" t-value="0"/>
|
||||
<t t-if="widget.partner_ids.length" t-foreach="widget.partner_ids" t-as="partner"><span t-attf-class="oe_partner_follower #{inc>=3?'oe_hidden':''}"><t t-if="inc" t-raw="', '"/><a t-attf-href="#model=res.partner&id=#{partner[0]}"><t t-raw="partner[1]"/></a></span><t t-set="inc" t-value="inc+1"/>
|
||||
|
||||
Reference in New Issue
Block a user