From 4f390b4777248207c0b8bcde0b73aee1b211ecbb Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 1 Oct 2013 13:25:20 +0200 Subject: [PATCH] [FIX] base_report_to_printer - using system_name of printer instead of printer browse record --- base_report_to_printer/printing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_report_to_printer/printing.py b/base_report_to_printer/printing.py index 150a23d..37e0805 100644 --- a/base_report_to_printer/printing.py +++ b/base_report_to_printer/printing.py @@ -299,7 +299,7 @@ class report_xml(orm.Model): if report.property_printing_action and report.property_printing_action.type != 'user_default': action = report.property_printing_action.type if report.printing_printer_id: - printer = report.printing_printer_id + printer = report.printing_printer_id.system_name # Retrieve report-user specific values act_ids = printing_act_obj.search(cr, uid,