diff --git a/src/model.js b/src/model.js index 174f271dc7..3939e22c44 100644 --- a/src/model.js +++ b/src/model.js @@ -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]; } });