[FIX] base_report_to_printer - using system_name of printer instead of printer browse record

This commit is contained in:
Yannick Vaucher
2013-10-01 13:25:20 +02:00
parent 23ec86cdc4
commit 0e14c7e16f

View File

@@ -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,