From fa0478a2d25b6de444ddd48e9425f68082e95f27 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 1 Oct 2013 13:29:25 +0200 Subject: [PATCH] [IMP] base_report_to_printer - remove uselsee context set --- base_report_to_printer/printing.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/base_report_to_printer/printing.py b/base_report_to_printer/printing.py index 37e0805..139d312 100644 --- a/base_report_to_printer/printing.py +++ b/base_report_to_printer/printing.py @@ -271,8 +271,6 @@ class report_xml(orm.Model): } def behaviour(self, cr, uid, ids, context=None): - if context is None: - context={} result = {} printer_obj = self.pool.get('printing.printer') printing_act_obj = self.pool.get('printing.report.xml.action')