Commit Graph
8 Commits
Author SHA1 Message Date
Cédric Krier a0bfbfa255 Follow isort formatting
issue10928
2021-12-11 17:58:45 +01:00
Cédric Krier a97e769ad3 Evaluate invalid domain if there are many fields
We must find the field that is invalid instead of using the first one with a
domain constraint.

issue10418
review360371002
2021-10-30 02:20:23 +02:00
Cédric Krier c6e42ec4cf Test relation domain with context
issue10386
review336171002
2021-06-06 09:28:24 +02:00
Cédric Krier 386347e46f Add test for relation with PYSON domain
issue9383
review317531002
2020-06-12 12:37:50 +02:00
Cédric Krier a48382124f Support explicit delete and remove for saving and on_change xxx2Many
issue4140
review291281002
2020-04-12 23:18:15 +02:00
Cédric Krier d450d09946 Add test for multiselection field in EvalEnvironment
issue9144
review285001004
2020-03-17 23:29:23 +01:00
Cédric Krier 340cb2f630 Loop over all expression of the relation domain to valid
When the field is a relation, the field name can not be used to inverse the
domain because the record evaluated it the Relation. So we inverse the domain
with all the field in the domain until find one invalid. If we find any then we
raise a generic error.

issue8597
review270141002
2019-08-28 22:31:22 +02:00
Cédric Krier 478c4e6928 Refactor fields tests
issue7085
review40051002
2018-02-02 00:04:19 +01:00