add C54 support

This commit is contained in:
Luc De Meyer 2020-06-21 18:31:57 +02:00
parent 63c8822a22
commit c34e63ba13
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright 2009-2018 Noviat.
# Copyright 2009-2020 Noviat.
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
from odoo import api, fields, models
@ -48,7 +48,7 @@ class EbicsFileFormat(models.Model):
return ['FUL', 'CCT', 'CDD', 'CDB', 'XE2', 'XE3']
def _supported_download_order_types(self):
return ['FDL', 'C52', 'C53']
return ['FDL', 'C52', 'C53', 'C54']
@api.model
def _selection_name(self):

View File

@ -1,4 +1,4 @@
# Copyright 2009-2019 Noviat.
# Copyright 2009-2020 Noviat.
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
"""
@ -163,7 +163,7 @@ class EbicsXfer(models.TransientModel):
params = {}
if order_type == 'FDL':
params['filetype'] = df.name
if order_type in ['FDL', 'C52', 'C53']:
if order_type in ['FDL', 'C52', 'C53', 'C54']:
params.update({
'start':
self.date_from and self.date_from.isoformat()