Fix context = None for issue44

This commit is contained in:
Cédric Krier committed 2008-05-30 08:55:05 +02:00
1 parent b709d949d0
commit 0435bc6646
1 file changed
+2
+2
View File
@@ -199,6 +199,8 @@ class Report(object):
super(Report, self).__init__()
def execute(self, cursor, user, ids, datas, context=None):
if context is None:
context = {}
action_report_obj = self.pool.get('ir.action.report')
action_report_ids = action_report_obj.search(cursor, user, [
('report_name', '=', self._name)