mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-12-24 05:11:45 +00:00
18 lines
411 B
Python
18 lines
411 B
Python
# Copyright 2020 Camptocamp SA
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from flectra 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": {},
|
|
}
|