Reviewers: ,


Please review this at http://codereview.tryton.org/580003/

Affected files:
  M CHANGELOG
  M dashboard.py


Index: CHANGELOG
===================================================================
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,5 @@
+* Filter action based on usage "dashboard"
+
 Version 2.6.0 - 2012-10-22
 * Bug fixes (see mercurial logs for details)

Index: dashboard.py
===================================================================
--- a/dashboard.py
+++ b/dashboard.py
@@ -19,6 +19,7 @@
             required=True, ondelete='CASCADE', domain=[
                 ('res_model', '!=', None),
                 ('res_model', '!=', ''),
+                ('usage', '=', 'dashboard'),
             ])

     @classmethod


--
[email protected] mailing list

Reply via email to