[FIX] mail: Chatter widget: the RecordThread widget, that is
used to display the Chatter on documents, should use the domain defined on the field. Indeed this domain is used when computing the 'read more' expandable domains. Before this fix it was not taken into account, leading to messages being fetched without respecting the domain defined on the field. bzr revid: tde@openerp.com-20140109110709-iz2jxryg5xqjedo4
This commit is contained in:
@@ -1790,7 +1790,7 @@ openerp.mail = function (session) {
|
||||
this.node.params.readonly = this.node.attrs.readonly;
|
||||
}
|
||||
|
||||
this.domain = this.node.params && this.node.params.domain || [];
|
||||
this.domain = (this.node.params && this.node.params.domain) || (this.field && this.field.domain) || [];
|
||||
|
||||
if (!this.ParentViewManager.is_action_enabled('edit')) {
|
||||
this.node.params.show_link = false;
|
||||
|
||||
Reference in New Issue
Block a user