Fix context = None for issue44
This commit is contained in:
1 parent
b709d949d0
commit
0435bc6646
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user