mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
typo, tray_id doesn't exist only printer_tray_id exist on the object
This commit is contained in:
committed by
Sylvain GARANCHER
parent
c52755ee47
commit
9c12be1f30
@@ -93,7 +93,7 @@ class Printer(models.Model):
|
||||
('action', '!=', 'user_default')],
|
||||
limit=1)
|
||||
if action and action.printer_tray_id:
|
||||
tray = action.tray_id
|
||||
tray = action.printer_tray_id
|
||||
|
||||
if tray:
|
||||
options['InputSlot'] = str(tray.system_name)
|
||||
|
||||
Reference in New Issue
Block a user