Call super() method of view_attributes
issue10151 review349551002
This commit is contained in:
1 parent
7045154844
commit
1b0e29d65d
1 file changed
+1
-1
+1
-1
@@ -202,7 +202,7 @@ class StatementRuleInformation(sequence_ordered(), ModelSQL, ModelView):
|
||||
|
||||
@classmethod
|
||||
def view_attributes(cls):
|
||||
return [
|
||||
return super().view_attributes() + [
|
||||
('//group[@id="%s"]' % type_, 'states', {
|
||||
'invisible': Eval('key_type') != type_,
|
||||
}) for type_ in ['integer', 'float', 'number']]
|
||||
|
||||
Reference in new issue
Block a user