mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
@@ -2,3 +2,4 @@ from . import ir_actions_report
|
||||
from . import res_remote
|
||||
from . import res_remote_printer
|
||||
from . import printing_action
|
||||
from . import printing_printer
|
||||
|
||||
16
remote_report_to_printer/models/printing_printer.py
Normal file
16
remote_report_to_printer/models/printing_printer.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# Copyright 2022 CreuBlanca
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class PrintingPrinter(models.Model):
|
||||
|
||||
_inherit = "printing.printer"
|
||||
|
||||
printer_remote_ids = fields.One2many(
|
||||
"res.remote.printer",
|
||||
inverse_name="printer_id",
|
||||
string="Remotes",
|
||||
help="Remote that can use this printer.",
|
||||
)
|
||||
Reference in New Issue
Block a user