diff --git a/CHANGELOG b/CHANGELOG index 0ca6633b09..929bed5039 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Do not validate Function fields even with setter * Simplify the creation of dependencies graph * Make depends on methods generic to any method * Add width/height attribute to notebook diff --git a/trytond/model/modelstorage.py b/trytond/model/modelstorage.py index 69d94a492a..2bfbde24e9 100644 --- a/trytond/model/modelstorage.py +++ b/trytond/model/modelstorage.py @@ -980,8 +980,7 @@ class ModelStorage(Model): and not (depends & field_names) and not (depends & function_fields)): continue - if isinstance(field, fields.Function) and \ - not field.setter: + if isinstance(field, fields.Function): continue validate_domain(field)