mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] Allow to define a default printer for the printing wizard
This commit is contained in:
@@ -39,6 +39,7 @@ class TestWizardPrintRecordLabel(TransactionCase):
|
||||
active_model='printing.printer',
|
||||
active_id=self.printer.id,
|
||||
active_ids=[self.printer.id],
|
||||
printer_zpl2_id=self.printer.id,
|
||||
)
|
||||
wizard = wizard_obj.create({})
|
||||
self.assertEqual(wizard.printer_id, self.printer)
|
||||
@@ -87,6 +88,7 @@ class TestWizardPrintRecordLabel(TransactionCase):
|
||||
active_model='printing.printer',
|
||||
active_id=self.printer.id,
|
||||
active_ids=[self.printer.id],
|
||||
printer_zpl2_id=self.printer.id,
|
||||
)
|
||||
wizard = wizard_obj.create({})
|
||||
self.assertEqual(wizard.label_id, self.label)
|
||||
|
||||
Reference in New Issue
Block a user