diff --git a/views/actions.py b/views/actions.py
index 924a7d146051bbf6e0303651fe78bdfbb7cfe6fd_dmlld3MvYWN0aW9ucy5weQ==..5e4cfec6078efaa210adb850d2465e8a29a3d845_dmlld3MvYWN0aW9ucy5weQ== 100644
--- a/views/actions.py
+++ b/views/actions.py
@@ -1,8 +1,8 @@
 """specific actions for fresh template
 
 :organization: Logilab
-:copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"
 
@@ -5,6 +5,7 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"
 
-from cubicweb.web.action import EntityAction
+from cubicweb.selectors import implements
+from cubicweb.web.action import Action
 
@@ -10,4 +11,3 @@
 
-class AccountingAction(EntityAction):
-    accepts = ('Expense',)
+class AccountingAction(Action):
     id = 'accaction'
@@ -13,2 +13,3 @@
     id = 'accaction'
+    __select__ = implements('Expense')
     title = _('generate accounting entries')
@@ -14,5 +15,5 @@
     title = _('generate accounting entries')
-    
+
     def url(self):
         entity = self.entity(0, 0)
         return entity.absolute_url(vid='accexpense')