[IMP] base_report_to_printer: archive printers

This commit is contained in:
Jaime Arroyo
2020-10-06 17:32:01 +02:00
parent ab879c3b45
commit 1c6535b3c9
4 changed files with 19 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ class PrintingPrinter(models.Model):
_order = 'name'
name = fields.Char(required=True, index=True)
active = fields.Boolean(default=True)
server_id = fields.Many2one(
comodel_name='printing.server', string='Server', required=True,
help='Server used to access this printer.')