[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:
@@ -39,6 +39,7 @@ IGNORED_IN_EXPRESSION = {
|
||||
'float',
|
||||
'str',
|
||||
'unicode',
|
||||
'set',
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user