mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] base_report_to_printer - using system_name of printer instead of printer browse record
This commit is contained in:
committed by
Sylvain GARANCHER
parent
60d01e0862
commit
ec028b35f4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user