mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
21 lines
524 B
Python
21 lines
524 B
Python
# Copyright (C) 2021 Camptocamp (<http://www.camptocamp.com>)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class PrintingServer(models.Model):
|
|
_name = "printing.server"
|
|
_inherit = ["printing.server", "server.env.mixin"]
|
|
|
|
@property
|
|
def _server_env_fields(self):
|
|
base_fields = super()._server_env_fields
|
|
base_fields.update(
|
|
{
|
|
"address": {},
|
|
"port": {},
|
|
}
|
|
)
|
|
return base_fields
|