[FIX] web: Setting ir.values for computed fields

Setting ir.values for computed fields is useless as the function onchange
in models.py will set to False all the computed fields with a modified dependence.

opw:767942
This commit is contained in:
Goffin Simon
2017-09-06 16:30:05 +02:00
parent 45e0cd564a
commit ce9bbf6c10
+2 -1
View File
@@ -1092,7 +1092,8 @@ var FormView = View.extend(common.FieldManagerMixin, {
|| field.field.type === 'one2many'
|| field.field.type === 'many2many'
|| field.field.type === 'binary'
|| field.password) {
|| field.password
|| !_.isEmpty(field.field.depends)) {
return false;
}