From 50f5c37698fc0aaa0706eda7868a0318c9c15b75 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sun, 21 Jun 2020 18:31:57 +0200 Subject: [PATCH] add C54 support --- account_ebics/models/ebics_file_format.py | 4 ++-- account_ebics/wizard/ebics_xfer.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account_ebics/models/ebics_file_format.py b/account_ebics/models/ebics_file_format.py index 62cf9b7..55a9945 100644 --- a/account_ebics/models/ebics_file_format.py +++ b/account_ebics/models/ebics_file_format.py @@ -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): diff --git a/account_ebics/wizard/ebics_xfer.py b/account_ebics/wizard/ebics_xfer.py index 76dca57..991bad2 100644 --- a/account_ebics/wizard/ebics_xfer.py +++ b/account_ebics/wizard/ebics_xfer.py @@ -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()