Skip attribute domain for validation of Reference field

issue4640
review8011002
This commit is contained in:
Cédric Krier committed 2015-03-15 16:29:37 +01:00
1 parent b7b2fe92ac
commit 24cbf66e36
1 file changed
+3
+3
View File
@@ -2001,6 +2001,9 @@
}
return Sao.field.Reference._super.get_on_change_value.call(
this, record);
},
validation_domains: function(record, pre_validate) {
return this.get_domains(record, pre_validate)[0];
}
});