Call super() method of view_attributes

issue10151
review349551002
This commit is contained in:
Nicolas Évrard committed 2021-04-09 10:52:03 +02:00
1 parent 7045154844
commit 1b0e29d65d
1 file changed
+1 -1
+1 -1
View File
@@ -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']]