[FIX] web: domain field should never be considered unset

Indeed, false was already considered as "[]" in edit mode.
This commit is contained in:
qsm-odoo
2017-10-18 18:14:33 +02:00
parent 25e65d2bcb
commit 841f41f95b
2 changed files with 16 additions and 5 deletions
@@ -2027,6 +2027,15 @@ var FieldDomain = AbstractField.extend({
// Public
//--------------------------------------------------------------------------
/**
* A domain field is always set since the false value is considered to be
* equal to "[]" (match all records).
*
* @override
*/
isSet: function () {
return true;
},
/**
* @override isValid from AbstractField.isValid
* Parsing the char value is not enough for this field. It is considered