diff --git a/bin/addons/base/ir/__init__.py b/bin/addons/base/ir/__init__.py
index a3f3e7e16c4..01e33494717 100644
--- a/bin/addons/base/ir/__init__.py
+++ b/bin/addons/base/ir/__init__.py
@@ -28,6 +28,7 @@ import ir_actions
import ir_report_custom
import ir_attachment
import ir_cron
+import ir_filters
import ir_values
import ir_translation
import ir_exports
diff --git a/bin/addons/base/ir/ir.xml b/bin/addons/base/ir/ir.xml
index d260a8a1e75..edafae1af1c 100644
--- a/bin/addons/base/ir/ir.xml
+++ b/bin/addons/base/ir/ir.xml
@@ -230,8 +230,59 @@
+
+
-
+
+ ir.filters.form
+ ir.filters
+ form
+
+
+
+
+
+
+
+
+ ir.filters.tree
+ ir.filters
+ tree
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Filters
+ ir.actions.act_window
+ ir.filters
+ form
+
+
+
+
+
+
+
+
+
ir.actions.report.custom
ir.actions.report.custom
form
diff --git a/bin/addons/base/ir/ir_filters.py b/bin/addons/base/ir/ir_filters.py
new file mode 100644
index 00000000000..44dd335f34d
--- /dev/null
+++ b/bin/addons/base/ir/ir_filters.py
@@ -0,0 +1,45 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2010 Tiny SPRL ().
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from osv import osv, fields
+
+class ir_filters(osv.osv):
+ '''
+ Filters
+ '''
+ _name = 'ir.filters'
+ _description = 'Filters'
+
+ def _list_all_models(self, cr, uid, context=None):
+ cr.execute("SELECT model, name from ir_model")
+ return cr.fetchall()
+
+ _columns = {
+ 'name': fields.char('Action Name', size=64, translate=True, required=True),
+ 'user_id':fields.many2one('res.users', 'User', help='False means for every user'),
+ 'domain': fields.char('Domain Value', size=250, required=True),
+ 'context': fields.char('Context Value', size=250, required=True),
+ 'model_id': fields.selection(_list_all_models, 'Model', required=True),
+ }
+
+ir_filters()
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: