mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-11-17 03:22:03 +00:00
18 lines
408 B
Python
18 lines
408 B
Python
|
# 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": {},
|
||
|
}
|