mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
add C54 support
This commit is contained in:
parent
05949d6094
commit
434d5c5a39
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2009-2018 Noviat.
|
# Copyright 2009-2020 Noviat.
|
||||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||||
|
|
||||||
from odoo import api, fields, models
|
from odoo import api, fields, models
|
||||||
@ -48,7 +48,7 @@ class EbicsFileFormat(models.Model):
|
|||||||
return ['FUL', 'CCT', 'CDD', 'CDB', 'XE2', 'XE3']
|
return ['FUL', 'CCT', 'CDD', 'CDB', 'XE2', 'XE3']
|
||||||
|
|
||||||
def _supported_download_order_types(self):
|
def _supported_download_order_types(self):
|
||||||
return ['FDL', 'C52', 'C53']
|
return ['FDL', 'C52', 'C53', 'C54']
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _selection_name(self):
|
def _selection_name(self):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2009-2019 Noviat.
|
# Copyright 2009-2020 Noviat.
|
||||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
# License LGPL-3 or later (http://www.gnu.org/licenses/lpgl).
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -163,7 +163,7 @@ class EbicsXfer(models.TransientModel):
|
|||||||
params = {}
|
params = {}
|
||||||
if order_type == 'FDL':
|
if order_type == 'FDL':
|
||||||
params['filetype'] = df.name
|
params['filetype'] = df.name
|
||||||
if order_type in ['FDL', 'C52', 'C53']:
|
if order_type in ['FDL', 'C52', 'C53', 'C54']:
|
||||||
params.update({
|
params.update({
|
||||||
'start':
|
'start':
|
||||||
self.date_from and self.date_from.isoformat()
|
self.date_from and self.date_from.isoformat()
|
||||||
|
Loading…
Reference in New Issue
Block a user