Send only the required fields when fetching a readonly view definition
issue11134 review380081002
This commit is contained in:
1 parent
2fa79d8382
commit
596944adf1
1 file changed
+2
-4
+2
-4
@@ -33,14 +33,12 @@ class Image(metaclass=PoolMeta):
|
||||
],
|
||||
states={
|
||||
'invisible': ~Eval('attribute_set') | Eval('product'),
|
||||
},
|
||||
depends=['attribute_set', 'product'])
|
||||
})
|
||||
attributes_name = fields.Function(fields.Char(
|
||||
"Attributes Name",
|
||||
states={
|
||||
'invisible': ~Eval('attribute_set'),
|
||||
},
|
||||
depends=['attribute_set']),
|
||||
}),
|
||||
'on_change_with_attributes_name')
|
||||
|
||||
attribute_set = fields.Function(
|
||||
|
||||
Reference in new issue
Block a user