mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[9.0] Add printer_zpl2 module (#66)
* [FIX] printer_tray: Allow to call print_option with no report * [ADD] Add printer_zpl2 module
This commit is contained in:
committed by
Dave Lasley
parent
e7b2c5f317
commit
c47e604857
@@ -113,6 +113,11 @@ class TestPrintingPrinter(TransactionCase):
|
||||
'system_name': 'Action tray',
|
||||
})
|
||||
|
||||
# No report passed
|
||||
self.env.user.printer_tray_id = False
|
||||
options = self.Model.print_options()
|
||||
self.assertFalse('InputSlot' in options)
|
||||
|
||||
# No tray defined
|
||||
self.env.user.printer_tray_id = False
|
||||
report.printer_tray_id = False
|
||||
|
||||
Reference in New Issue
Block a user