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
Graeme Gellatly
parent
2b30bca780
commit
8ca40357a2
@@ -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