web/views/actions.py
changeset 8666 1dd655788ece
parent 8665 e65af61bde7d
child 9198 c32a21bf88bb
--- a/web/views/actions.py	Thu Jan 10 18:34:10 2013 +0100
+++ b/web/views/actions.py	Mon Jan 21 16:34:09 2013 +0100
@@ -291,7 +291,8 @@
         method to return an empty list. If you only want some, you can configure
         them by using uicfg.actionbox_appearsin_addmenu
         """
-        appearsin_addmenu = uicfg.actionbox_appearsin_addmenu
+        appearsin_addmenu = self._cw.vreg['uicfg'].select(
+            'actionbox_appearsin_addmenu', self._cw, entity=entity)
         req = self._cw
         eschema = entity.e_schema
         for role, rschemas in (('subject', eschema.subject_relations()),