mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 14:37:25 +00:00
ebics 16.0 : add support for oca camt parser
This commit is contained in:
parent
643838031b
commit
2a1a5ba73f
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user