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

18 lines
411 B
Python
Raw Permalink 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).
2021-06-30 06:39:40 +00:00
from flectra import models
2021-06-30 06:38:22 +00:00
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": {},
}