[IMP] tools: ignore set in view expressions

Now that some field attributes like invisible are given by Python expressions
and that those can involve some set operations, we have to ensure that
the views can be validated if they use such operations. We do that and
add a test.

closes odoo/odoo#139451

Signed-off-by: Géry Debongnie <ged@odoo.com>
This commit is contained in:
Mathieu Duckerts-Antoine
2023-10-25 17:03:19 +00:00
parent 39e5124170
commit 998ef1f63a
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ IGNORED_IN_EXPRESSION = {
'float',
'str',
'unicode',
'set',
}