[IMP] mail: add the readonly option on the field for the different views
bzr revid: chm@openerp.com-20121217093501-mxji9wb00xyvq35e
This commit is contained in:
@@ -1509,6 +1509,9 @@ openerp.mail = function (session) {
|
||||
if (this.node.attrs.placeholder) {
|
||||
this.node.params.compose_placeholder = this.node.attrs.placeholder;
|
||||
}
|
||||
if (this.node.attrs.readonly) {
|
||||
this.node.params.readonly = this.node.attrs.readonly;
|
||||
}
|
||||
|
||||
this.domain = this.node.params && this.node.params.domain || [];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user