[FIX]: Password field should not allows to setdefault

bzr revid: aja@tinyerp.com-20121102112002-awvp6juu2mvdndz2
This commit is contained in:
ajay javiya (OpenERP) 2012-11-02 16:50:02 +05:30
parent 14b0e83467
commit 49dd95bf51
1 changed files with 2 additions and 1 deletions

View File

@ -990,7 +990,8 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|| field.get("readonly")
|| field.field.type === 'one2many'
|| field.field.type === 'many2many'
|| field.field.type === 'binary') {
|| field.field.type === 'binary'
|| field.password) {
return false;
}