Dissable action keyword when active is false

issue3474
review1571002
This commit is contained in:
resteve committed 2013-11-13 13:16:52 +01:00
1 parent bc1215af41
commit 490f2a3700
1 file changed
+1
+1
View File
@@ -223,6 +223,7 @@ class ActionKeyword(ModelSQL, ModelView):
('model', '=', model + ',' + str(model_id)),
],
]
clause = [clause, ('action.active', '=', True)]
action_keywords = cls.search(clause, order=[])
types = defaultdict(list)
for action_keyword in action_keywords: