l10n-switzerland-flectra/server_env_ebill_paynet/models/paynet_service.py

18 lines
408 B
Python
Raw Normal View History

2021-06-30 06:38:22 +00:00
# Copyright 2020 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models
class PaynetService(models.Model):
_name = "paynet.service"
_inherit = ["paynet.service", "server.env.mixin"]
@property
def _server_env_fields(self):
return {
"use_test_service": {},
"username": {},
"password": {},
}