mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 12:42:04 +00:00
ebics 16.0 : add support for oca camt parser
This commit is contained in:
parent
d5143617c1
commit
1181b611df
@ -1,7 +1,6 @@
|
|||||||
exclude: |
|
exclude: |
|
||||||
(?x)
|
(?x)
|
||||||
# NOT INSTALLABLE ADDONS
|
# NOT INSTALLABLE ADDONS
|
||||||
^account_ebics_oca_statement_import/|
|
|
||||||
^account_ebics_payment_order/|
|
^account_ebics_payment_order/|
|
||||||
# END NOT INSTALLABLE ADDONS
|
# END NOT INSTALLABLE ADDONS
|
||||||
# Files and folders generated by bots, to avoid loops
|
# Files and folders generated by bots, to avoid loops
|
||||||
|
@ -214,6 +214,5 @@ Known Issues / Roadmap
|
|||||||
======================
|
======================
|
||||||
|
|
||||||
- Add support to import externally generated keys & certificates (currently only 3SKey signature certificate).
|
- Add support to import externally generated keys & certificates (currently only 3SKey signature certificate).
|
||||||
- For Odoo 16.0 the interaction with the OCA payment order and bank statement import modules (e.g. french CFONB) is not yet available.
|
|
||||||
- Electronic Distributed Signature (EDS) is not supported in the current version of this module.
|
- Electronic Distributed Signature (EDS) is not supported in the current version of this module.
|
||||||
|
|
||||||
|
@ -412,7 +412,18 @@ class EbicsFile(models.Model):
|
|||||||
return self._process_download_result(res)
|
return self._process_download_result(res)
|
||||||
|
|
||||||
def _process_camt053_oca(self, res, st_datas):
|
def _process_camt053_oca(self, res, st_datas):
|
||||||
raise NotImplementedError
|
for st_data in st_datas:
|
||||||
|
with self.env.cr.savepoint():
|
||||||
|
self._create_statement_camt053_oca(res, st_data)
|
||||||
|
|
||||||
|
def _create_statement_camt053_oca(self, res, st_data):
|
||||||
|
wiz = (
|
||||||
|
self.env["account.statement.import"]
|
||||||
|
.with_company(st_data["company_id"])
|
||||||
|
.with_context(active_model="ebics.file")
|
||||||
|
.create({"statement_filename": self.name})
|
||||||
|
)
|
||||||
|
wiz.import_single_file(base64.b64decode(st_data["data"]), res)
|
||||||
|
|
||||||
def _process_camt053_oe(self, res, st_datas):
|
def _process_camt053_oe(self, res, st_datas):
|
||||||
"""
|
"""
|
||||||
|
@ -563,7 +563,6 @@ You can also find this information in the doc folder of this module (file EBICS_
|
|||||||
<h2>Known Issues / Roadmap</h2>
|
<h2>Known Issues / Roadmap</h2>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li>Add support to import externally generated keys & certificates (currently only 3SKey signature certificate).</li>
|
<li>Add support to import externally generated keys & certificates (currently only 3SKey signature certificate).</li>
|
||||||
<li>For Odoo 16.0 the interaction with the OCA payment order and bank statement import modules (e.g. french CFONB) is not yet available.</li>
|
|
||||||
<li>Electronic Distributed Signature (EDS) is not supported in the current version of this module.</li>
|
<li>Electronic Distributed Signature (EDS) is not supported in the current version of this module.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
Deploy account_ebics module with OCA Bank Statement Import
|
Deploy account_ebics module with OCA Bank Statement Import
|
||||||
==========================================================
|
==========================================================
|
||||||
|
|
||||||
This module makes it possible to use OCA account_statement_import
|
This module makes it possible to use the OCA account_statement_import wizard
|
||||||
in combination with 'account_ebics'.
|
in combination with 'account_ebics'.
|
||||||
|
|
||||||
This module will be installed automatically when following modules are activated
|
This module will be installed automatically when following modules are activated
|
||||||
on your odoo database :
|
on your odoo database :
|
||||||
|
|
||||||
- account_ebics
|
- account_ebics
|
||||||
- account_statement_import
|
- account_statement_import_file
|
||||||
|
|
||||||
|
@ -11,11 +11,9 @@
|
|||||||
"license": "LGPL-3",
|
"license": "LGPL-3",
|
||||||
"depends": [
|
"depends": [
|
||||||
"account_ebics",
|
"account_ebics",
|
||||||
"account_statement_import",
|
"account_statement_import_file",
|
||||||
],
|
],
|
||||||
# installable False unit OCA statement import becomes
|
"installable": True,
|
||||||
# available for 16.0
|
|
||||||
"installable": False,
|
|
||||||
"auto_install": True,
|
"auto_install": True,
|
||||||
"images": ["static/description/cover.png"],
|
"images": ["static/description/cover.png"],
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 2009-2020 Noviat.
|
# Copyright 2009-2023 Noviat.
|
||||||
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
|
# License LGPL-3 or later (http://www.gnu.org/licenses/lgpl).
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
../../../../account_ebics_oca_statement_import
|
6
setup/account_ebics_oca_statement_import/setup.py
Normal file
6
setup/account_ebics_oca_statement_import/setup.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['setuptools-odoo'],
|
||||||
|
odoo_addon=True,
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user