[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:
Christophe Matthieu
2012-12-17 10:35:01 +01:00
parent c3d4d20d86
commit 9150d95062
+3
View File
@@ -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 || [];
},