mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Merge pull request #136 from Tecnativa/9.0-imp-base_report_to_printer
[IMP] base_report_to_printer: existing printers migration
This commit is contained in:
@@ -16,4 +16,5 @@ def migrate(cr, v):
|
|||||||
'name': config.get('cups_host', 'localhost'),
|
'name': config.get('cups_host', 'localhost'),
|
||||||
'address': config.get('cups_host', 'localhost'),
|
'address': config.get('cups_host', 'localhost'),
|
||||||
'port': config.get('cups_port', 631),
|
'port': config.get('cups_port', 631),
|
||||||
|
'printer_ids': [(6, 0, env['printing.printer'].search([]).ids)],
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user