mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[MIG] remote_report_to_printer: Migration to 13.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Copyright (c) 2018 Creu Blanca
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
from odoo import api, fields, models
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResRemote(models.Model):
|
||||
@@ -10,7 +10,6 @@ class ResRemote(models.Model):
|
||||
"res.remote.printer", inverse_name="remote_id",
|
||||
)
|
||||
|
||||
@api.multi
|
||||
def get_printer_behaviour(self):
|
||||
self.ensure_one()
|
||||
printer_usage = self.env.context.get("printer_usage", "standard")
|
||||
|
||||
Reference in New Issue
Block a user