odoo-addon-account-statement-import-camt 18.0.1.0.0.3__py3-none-any.whl → 19.0.1.0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/account_statement_import_camt/README.rst +11 -7
- odoo/addons/account_statement_import_camt/__init__.py +1 -0
- odoo/addons/account_statement_import_camt/__manifest__.py +2 -2
- odoo/addons/account_statement_import_camt/i18n/account_statement_import_camt.pot +21 -7
- odoo/addons/account_statement_import_camt/models/__init__.py +0 -2
- odoo/addons/account_statement_import_camt/models/account_journal.py +7 -2
- odoo/addons/account_statement_import_camt/static/description/index.html +19 -13
- odoo/addons/account_statement_import_camt/wizard/__init__.py +2 -0
- odoo/addons/account_statement_import_camt/{models → wizard}/account_statement_import_camt_parser.py +29 -28
- {odoo_addon_account_statement_import_camt-18.0.1.0.0.3.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/METADATA +16 -12
- {odoo_addon_account_statement_import_camt-18.0.1.0.0.3.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/RECORD +15 -14
- {odoo_addon_account_statement_import_camt-18.0.1.0.0.3.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/WHEEL +1 -1
- /odoo/addons/account_statement_import_camt/{views → wizard}/account_bank_statement_import.xml +0 -0
- /odoo/addons/account_statement_import_camt/{models → wizard}/account_statement_import.py +0 -0
- {odoo_addon_account_statement_import_camt-18.0.1.0.0.3.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/top_level.txt +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
2
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
3
|
+
:alt: Odoo Community Association
|
|
4
|
+
|
|
1
5
|
==================================
|
|
2
6
|
CAMT Format Bank Statements Import
|
|
3
7
|
==================================
|
|
@@ -7,23 +11,23 @@ CAMT Format Bank Statements Import
|
|
|
7
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
12
|
!! changes will be overwritten. !!
|
|
9
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:3bb1a423d0e284b5bc9c8238ec1eab88d1727ee22527ed32b6f8217c957c883b
|
|
11
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
16
|
|
|
13
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
14
18
|
:target: https://odoo-community.org/page/development-status
|
|
15
19
|
:alt: Beta
|
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
20
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
17
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
22
|
:alt: License: AGPL-3
|
|
19
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github
|
|
20
|
-
:target: https://github.com/OCA/bank-statement-import/tree/
|
|
24
|
+
:target: https://github.com/OCA/bank-statement-import/tree/19.0/account_statement_import_camt
|
|
21
25
|
:alt: OCA/bank-statement-import
|
|
22
26
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/bank-statement-import-
|
|
27
|
+
:target: https://translation.odoo-community.org/projects/bank-statement-import-19-0/bank-statement-import-19-0-account_statement_import_camt
|
|
24
28
|
:alt: Translate me on Weblate
|
|
25
29
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
26
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=
|
|
30
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=19.0
|
|
27
31
|
:alt: Try me on Runboat
|
|
28
32
|
|
|
29
33
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -41,7 +45,7 @@ Bug Tracker
|
|
|
41
45
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
42
46
|
In case of trouble, please check there if your issue has already been reported.
|
|
43
47
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
44
|
-
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%
|
|
48
|
+
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
45
49
|
|
|
46
50
|
Do not contact contributors directly about support or help with technical issues.
|
|
47
51
|
|
|
@@ -93,6 +97,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
93
97
|
mission is to support the collaborative development of Odoo features and
|
|
94
98
|
promote its widespread use.
|
|
95
99
|
|
|
96
|
-
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/
|
|
100
|
+
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/19.0/account_statement_import_camt>`_ project on GitHub.
|
|
97
101
|
|
|
98
102
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
3
3
|
{
|
|
4
4
|
"name": "CAMT Format Bank Statements Import",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "19.0.1.0.0",
|
|
6
6
|
"license": "AGPL-3",
|
|
7
7
|
"author": "Therp BV, Odoo Community Association (OCA)",
|
|
8
8
|
"website": "https://github.com/OCA/bank-statement-import",
|
|
9
9
|
"category": "Banking addons",
|
|
10
10
|
"depends": ["account_statement_import_file"],
|
|
11
|
-
"data": ["
|
|
11
|
+
"data": ["wizard/account_bank_statement_import.xml"],
|
|
12
12
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
msgid ""
|
|
6
6
|
msgstr ""
|
|
7
|
-
"Project-Id-Version: Odoo Server
|
|
7
|
+
"Project-Id-Version: Odoo Server 19.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -25,10 +25,24 @@ msgstr ""
|
|
|
25
25
|
|
|
26
26
|
#. module: account_statement_import_camt
|
|
27
27
|
#. odoo-python
|
|
28
|
-
#: code:addons/account_statement_import_camt/
|
|
28
|
+
#: code:addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py:0
|
|
29
29
|
msgid "Communication"
|
|
30
30
|
msgstr ""
|
|
31
31
|
|
|
32
|
+
#. module: account_statement_import_camt
|
|
33
|
+
#: model:ir.model.fields,field_description:account_statement_import_camt.field_account_journal__display_name
|
|
34
|
+
#: model:ir.model.fields,field_description:account_statement_import_camt.field_account_statement_import__display_name
|
|
35
|
+
#: model:ir.model.fields,field_description:account_statement_import_camt.field_account_statement_import_camt_parser__display_name
|
|
36
|
+
msgid "Display Name"
|
|
37
|
+
msgstr ""
|
|
38
|
+
|
|
39
|
+
#. module: account_statement_import_camt
|
|
40
|
+
#: model:ir.model.fields,field_description:account_statement_import_camt.field_account_journal__id
|
|
41
|
+
#: model:ir.model.fields,field_description:account_statement_import_camt.field_account_statement_import__id
|
|
42
|
+
#: model:ir.model.fields,field_description:account_statement_import_camt.field_account_statement_import_camt_parser__id
|
|
43
|
+
msgid "ID"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
32
46
|
#. module: account_statement_import_camt
|
|
33
47
|
#: model:ir.model,name:account_statement_import_camt.model_account_statement_import
|
|
34
48
|
msgid "Import Bank Statement Files"
|
|
@@ -41,31 +55,31 @@ msgstr ""
|
|
|
41
55
|
|
|
42
56
|
#. module: account_statement_import_camt
|
|
43
57
|
#. odoo-python
|
|
44
|
-
#: code:addons/account_statement_import_camt/
|
|
58
|
+
#: code:addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py:0
|
|
45
59
|
msgid "Partner Account Number"
|
|
46
60
|
msgstr ""
|
|
47
61
|
|
|
48
62
|
#. module: account_statement_import_camt
|
|
49
63
|
#. odoo-python
|
|
50
|
-
#: code:addons/account_statement_import_camt/
|
|
64
|
+
#: code:addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py:0
|
|
51
65
|
msgid "Partner Name"
|
|
52
66
|
msgstr ""
|
|
53
67
|
|
|
54
68
|
#. module: account_statement_import_camt
|
|
55
69
|
#. odoo-python
|
|
56
|
-
#: code:addons/account_statement_import_camt/
|
|
70
|
+
#: code:addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py:0
|
|
57
71
|
msgid "Reference"
|
|
58
72
|
msgstr ""
|
|
59
73
|
|
|
60
74
|
#. module: account_statement_import_camt
|
|
61
75
|
#. odoo-python
|
|
62
|
-
#: code:addons/account_statement_import_camt/
|
|
76
|
+
#: code:addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py:0
|
|
63
77
|
msgid "Transaction Date"
|
|
64
78
|
msgstr ""
|
|
65
79
|
|
|
66
80
|
#. module: account_statement_import_camt
|
|
67
81
|
#. odoo-python
|
|
68
|
-
#: code:addons/account_statement_import_camt/
|
|
82
|
+
#: code:addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py:0
|
|
69
83
|
msgid "Transaction Type"
|
|
70
84
|
msgstr ""
|
|
71
85
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Copyright 2019 ACSONE SA/NV <thomas.binsfeld@acsone.eu>
|
|
2
2
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
3
3
|
|
|
4
|
-
from odoo import
|
|
4
|
+
from odoo import models
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class AccountJournal(models.Model):
|
|
@@ -9,5 +9,10 @@ class AccountJournal(models.Model):
|
|
|
9
9
|
|
|
10
10
|
def _get_bank_statements_available_import_formats(self):
|
|
11
11
|
res = super()._get_bank_statements_available_import_formats()
|
|
12
|
-
res.extend(
|
|
12
|
+
res.extend(
|
|
13
|
+
[
|
|
14
|
+
self.env._("camt.053.001.02"),
|
|
15
|
+
self.env._("camt.054.001.02"),
|
|
16
|
+
]
|
|
17
|
+
)
|
|
13
18
|
return res
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
5
|
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
|
6
|
-
<title>
|
|
6
|
+
<title>README.rst</title>
|
|
7
7
|
<style type="text/css">
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -360,16 +360,21 @@ ul.auto-toc {
|
|
|
360
360
|
</style>
|
|
361
361
|
</head>
|
|
362
362
|
<body>
|
|
363
|
-
<div class="document"
|
|
364
|
-
<h1 class="title">CAMT Format Bank Statements Import</h1>
|
|
363
|
+
<div class="document">
|
|
365
364
|
|
|
365
|
+
|
|
366
|
+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
|
|
367
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
|
|
368
|
+
</a>
|
|
369
|
+
<div class="section" id="camt-format-bank-statements-import">
|
|
370
|
+
<h1>CAMT Format Bank Statements Import</h1>
|
|
366
371
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
367
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
368
373
|
!! changes will be overwritten. !!
|
|
369
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:3bb1a423d0e284b5bc9c8238ec1eab88d1727ee22527ed32b6f8217c957c883b
|
|
371
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
372
|
-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/
|
|
377
|
+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-statement-import/tree/19.0/account_statement_import_camt"><img alt="OCA/bank-statement-import" src="https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-statement-import-19-0/bank-statement-import-19-0-account_statement_import_camt"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
378
|
<p>Module to import SEPA CAMT.053 and CAMT.054 Format bank statement files.</p>
|
|
374
379
|
<p><strong>Table of contents</strong></p>
|
|
375
380
|
<div class="contents local topic" id="contents">
|
|
@@ -385,23 +390,23 @@ ul.auto-toc {
|
|
|
385
390
|
</ul>
|
|
386
391
|
</div>
|
|
387
392
|
<div class="section" id="bug-tracker">
|
|
388
|
-
<
|
|
393
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h2>
|
|
389
394
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
|
|
390
395
|
In case of trouble, please check there if your issue has already been reported.
|
|
391
396
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
392
|
-
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%
|
|
397
|
+
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
393
398
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
394
399
|
</div>
|
|
395
400
|
<div class="section" id="credits">
|
|
396
|
-
<
|
|
401
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Credits</a></h2>
|
|
397
402
|
<div class="section" id="authors">
|
|
398
|
-
<
|
|
403
|
+
<h3><a class="toc-backref" href="#toc-entry-3">Authors</a></h3>
|
|
399
404
|
<ul class="simple">
|
|
400
405
|
<li>Therp BV</li>
|
|
401
406
|
</ul>
|
|
402
407
|
</div>
|
|
403
408
|
<div class="section" id="contributors">
|
|
404
|
-
<
|
|
409
|
+
<h3><a class="toc-backref" href="#toc-entry-4">Contributors</a></h3>
|
|
405
410
|
<ul>
|
|
406
411
|
<li><p class="first">Holger Brunn <<a class="reference external" href="mailto:mail@hunki-enterprises.com">mail@hunki-enterprises.com</a>></p>
|
|
407
412
|
</li>
|
|
@@ -426,13 +431,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
426
431
|
</ul>
|
|
427
432
|
</div>
|
|
428
433
|
<div class="section" id="other-credits">
|
|
429
|
-
<
|
|
434
|
+
<h3><a class="toc-backref" href="#toc-entry-5">Other credits</a></h3>
|
|
430
435
|
<p>The migration of this module from 15.0 to 16.0 was financially supported
|
|
431
436
|
by Camptocamp The migration of this module from 17.0 to 18.0 was
|
|
432
437
|
financially supported by Camptocamp</p>
|
|
433
438
|
</div>
|
|
434
439
|
<div class="section" id="maintainers">
|
|
435
|
-
<
|
|
440
|
+
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
|
|
436
441
|
<p>This module is maintained by the OCA.</p>
|
|
437
442
|
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
438
443
|
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
@@ -440,10 +445,11 @@ financially supported by Camptocamp</p>
|
|
|
440
445
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
441
446
|
mission is to support the collaborative development of Odoo features and
|
|
442
447
|
promote its widespread use.</p>
|
|
443
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/
|
|
448
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/19.0/account_statement_import_camt">OCA/bank-statement-import</a> project on GitHub.</p>
|
|
444
449
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
|
445
450
|
</div>
|
|
446
451
|
</div>
|
|
447
452
|
</div>
|
|
453
|
+
</div>
|
|
448
454
|
</body>
|
|
449
455
|
</html>
|
odoo/addons/account_statement_import_camt/{models → wizard}/account_statement_import_camt_parser.py
RENAMED
|
@@ -56,7 +56,6 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
56
56
|
|
|
57
57
|
def parse_transaction_details(self, ns, node, transaction):
|
|
58
58
|
"""Parse TxDtls node."""
|
|
59
|
-
_ = self.env._
|
|
60
59
|
# message
|
|
61
60
|
self.add_value_from_node(
|
|
62
61
|
ns,
|
|
@@ -76,7 +75,7 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
76
75
|
node,
|
|
77
76
|
["./ns:RmtInf/ns:Ustrd"],
|
|
78
77
|
transaction["narration"],
|
|
79
|
-
f"{_('Unstructured Reference')} (RmtInf/Ustrd)",
|
|
78
|
+
f"{self.env._('Unstructured Reference')} (RmtInf/Ustrd)",
|
|
80
79
|
join_str=" ",
|
|
81
80
|
)
|
|
82
81
|
self.add_value_from_node(
|
|
@@ -84,7 +83,7 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
84
83
|
node,
|
|
85
84
|
["./ns:RmtInf/ns:Strd/ns:CdtrRefInf/ns:Ref"],
|
|
86
85
|
transaction["narration"],
|
|
87
|
-
f"{_('Structured Reference')} (RmtInf/Strd/CdtrRefInf/Ref)",
|
|
86
|
+
f"{self.env._('Structured Reference')} (RmtInf/Strd/CdtrRefInf/Ref)",
|
|
88
87
|
join_str=" ",
|
|
89
88
|
)
|
|
90
89
|
self.add_value_from_node(
|
|
@@ -92,7 +91,7 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
92
91
|
node,
|
|
93
92
|
["./ns:AddtlTxInf"],
|
|
94
93
|
transaction["narration"],
|
|
95
|
-
f"{_('Additional Transaction Information')} (AddtlTxInf)",
|
|
94
|
+
f"{self.env._('Additional Transaction Information')} (AddtlTxInf)",
|
|
96
95
|
join_str=" ",
|
|
97
96
|
)
|
|
98
97
|
self.add_value_from_node(
|
|
@@ -100,21 +99,21 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
100
99
|
node,
|
|
101
100
|
["./ns:RtrInf/ns:Rsn/ns:Cd"],
|
|
102
101
|
transaction["narration"],
|
|
103
|
-
f"{_('Return Reason Code')} (RtrInf/Rsn/Cd)",
|
|
102
|
+
f"{self.env._('Return Reason Code')} (RtrInf/Rsn/Cd)",
|
|
104
103
|
)
|
|
105
104
|
self.add_value_from_node(
|
|
106
105
|
ns,
|
|
107
106
|
node,
|
|
108
107
|
["./ns:RtrInf/ns:Rsn/ns:Cd"],
|
|
109
108
|
transaction["narration"],
|
|
110
|
-
f"{_('Return Reason Code (Proprietary)')} (RtrInf/Rsn/Prtry)",
|
|
109
|
+
f"{self.env._('Return Reason Code (Proprietary)')} (RtrInf/Rsn/Prtry)",
|
|
111
110
|
)
|
|
112
111
|
self.add_value_from_node(
|
|
113
112
|
ns,
|
|
114
113
|
node,
|
|
115
114
|
["./ns:RtrInf/ns:AddtlInf"],
|
|
116
115
|
transaction["narration"],
|
|
117
|
-
f"{_('Return Reason Additional Information')} (RtrInf/AddtlInf)",
|
|
116
|
+
f"{self.env._('Return Reason Additional Information')} (RtrInf/AddtlInf)",
|
|
118
117
|
join_str=" ",
|
|
119
118
|
)
|
|
120
119
|
self.add_value_from_node(
|
|
@@ -122,49 +121,49 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
122
121
|
node,
|
|
123
122
|
["./ns:Refs/ns:MsgId"],
|
|
124
123
|
transaction["narration"],
|
|
125
|
-
f"{_('Msg Id')} (Refs/MsgId)",
|
|
124
|
+
f"{self.env._('Msg Id')} (Refs/MsgId)",
|
|
126
125
|
)
|
|
127
126
|
self.add_value_from_node(
|
|
128
127
|
ns,
|
|
129
128
|
node,
|
|
130
129
|
["./ns:Refs/ns:AcctSvcrRef"],
|
|
131
130
|
transaction["narration"],
|
|
132
|
-
f"{_('Account Servicer Reference')} (Refs/AcctSvcrRef)",
|
|
131
|
+
f"{self.env._('Account Servicer Reference')} (Refs/AcctSvcrRef)",
|
|
133
132
|
)
|
|
134
133
|
self.add_value_from_node(
|
|
135
134
|
ns,
|
|
136
135
|
node,
|
|
137
136
|
["./ns:Refs/ns:EndToEndId"],
|
|
138
137
|
transaction["narration"],
|
|
139
|
-
f"{_('End To End Id')} (Refs/EndToEndId)",
|
|
138
|
+
f"{self.env._('End To End Id')} (Refs/EndToEndId)",
|
|
140
139
|
)
|
|
141
140
|
self.add_value_from_node(
|
|
142
141
|
ns,
|
|
143
142
|
node,
|
|
144
143
|
["./ns:Refs/ns:InstrId"],
|
|
145
144
|
transaction["narration"],
|
|
146
|
-
f"{_('Instructed Id')} (Refs/InstrId)",
|
|
145
|
+
f"{self.env._('Instructed Id')} (Refs/InstrId)",
|
|
147
146
|
)
|
|
148
147
|
self.add_value_from_node(
|
|
149
148
|
ns,
|
|
150
149
|
node,
|
|
151
150
|
["./ns:Refs/ns:TxId"],
|
|
152
151
|
transaction["narration"],
|
|
153
|
-
f"{_('Transaction Identification')} (Refs/TxId)",
|
|
152
|
+
f"{self.env._('Transaction Identification')} (Refs/TxId)",
|
|
154
153
|
)
|
|
155
154
|
self.add_value_from_node(
|
|
156
155
|
ns,
|
|
157
156
|
node,
|
|
158
157
|
["./ns:Refs/ns:MntId"],
|
|
159
158
|
transaction["narration"],
|
|
160
|
-
f"{_('Mandate Id')} (Refs/MntId)",
|
|
159
|
+
f"{self.env._('Mandate Id')} (Refs/MntId)",
|
|
161
160
|
)
|
|
162
161
|
self.add_value_from_node(
|
|
163
162
|
ns,
|
|
164
163
|
node,
|
|
165
164
|
["./ns:Refs/ns:ChqNb"],
|
|
166
165
|
transaction["narration"],
|
|
167
|
-
f"{_('Cheque Number')} (Refs/ChqNb)",
|
|
166
|
+
f"{self.env._('Cheque Number')} (Refs/ChqNb)",
|
|
168
167
|
)
|
|
169
168
|
|
|
170
169
|
self.add_value_from_node(
|
|
@@ -224,7 +223,7 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
224
223
|
"./ns:PstlAdr/ns:Ctry|"
|
|
225
224
|
"./ns:PstlAdr/ns:AdrLine",
|
|
226
225
|
transaction["narration"],
|
|
227
|
-
f"{_('Postal Address')} (PstlAdr)",
|
|
226
|
+
f"{self.env._('Postal Address')} (PstlAdr)",
|
|
228
227
|
join_str=" | ",
|
|
229
228
|
)
|
|
230
229
|
# Get remote_account from iban or from domestic account:
|
|
@@ -246,18 +245,19 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
246
245
|
|
|
247
246
|
def generate_narration(self, transaction):
|
|
248
247
|
# this block ensure compatibility with v13
|
|
249
|
-
_ = self.env._
|
|
250
248
|
transaction["narration"] = {
|
|
251
|
-
"{} (RltdPties/Nm)".format(_("Partner Name")): transaction.get(
|
|
249
|
+
"{} (RltdPties/Nm)".format(self.env._("Partner Name")): transaction.get(
|
|
252
250
|
"partner_name", ""
|
|
253
251
|
),
|
|
254
|
-
"{} (RltdPties/Acct)".format(
|
|
255
|
-
"
|
|
252
|
+
"{} (RltdPties/Acct)".format(
|
|
253
|
+
self.env._("Partner Account Number")
|
|
254
|
+
): transaction.get("account_number", ""),
|
|
255
|
+
"{} (BookgDt)".format(self.env._("Transaction Date")): transaction.get(
|
|
256
|
+
"date", ""
|
|
256
257
|
),
|
|
257
|
-
|
|
258
|
-
_("
|
|
259
|
-
_("
|
|
260
|
-
"{} (BkTxCd)".format(_("Transaction Type")): transaction.get(
|
|
258
|
+
self.env._("Reference"): transaction.get("ref", ""),
|
|
259
|
+
self.env._("Communication"): transaction.get("name", ""),
|
|
260
|
+
"{} (BkTxCd)".format(self.env._("Transaction Type")): transaction.get(
|
|
261
261
|
"transaction_type", ""
|
|
262
262
|
),
|
|
263
263
|
**transaction["narration"],
|
|
@@ -269,14 +269,15 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
269
269
|
|
|
270
270
|
def parse_entry(self, ns, node):
|
|
271
271
|
"""Parse an Ntry node and yield transactions"""
|
|
272
|
-
_ = self.env._
|
|
273
272
|
transaction = {
|
|
274
273
|
"payment_ref": "/",
|
|
275
|
-
"amount": 0,
|
|
274
|
+
"amount": 0.0,
|
|
276
275
|
"narration": {},
|
|
277
276
|
"transaction_type": {},
|
|
278
277
|
} # fallback defaults
|
|
279
|
-
self.add_value_from_node(
|
|
278
|
+
self.add_value_from_node(
|
|
279
|
+
ns, node, "./ns:BookgDt/ns:Dt | ./ns:BookgDt/ns:DtTm", transaction, "date"
|
|
280
|
+
)
|
|
280
281
|
amount = self.parse_amount(ns, node)
|
|
281
282
|
if amount != 0.0:
|
|
282
283
|
transaction["amount"] = amount
|
|
@@ -298,14 +299,14 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
298
299
|
node,
|
|
299
300
|
"./ns:AddtlNtryInf",
|
|
300
301
|
transaction["narration"],
|
|
301
|
-
f"{_('Additional Entry Information')} (AddtlNtryInf)",
|
|
302
|
+
f"{self.env._('Additional Entry Information')} (AddtlNtryInf)",
|
|
302
303
|
)
|
|
303
304
|
self.add_value_from_node(
|
|
304
305
|
ns,
|
|
305
306
|
node,
|
|
306
307
|
"./ns:RvslInd",
|
|
307
308
|
transaction["narration"],
|
|
308
|
-
f"{_('Reversal Indicator')} (RvslInd)",
|
|
309
|
+
f"{self.env._('Reversal Indicator')} (RvslInd)",
|
|
309
310
|
)
|
|
310
311
|
|
|
311
312
|
self.add_value_from_node(
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-account_statement_import_camt
|
|
3
|
-
Version:
|
|
4
|
-
Requires-
|
|
5
|
-
Requires-Dist: odoo
|
|
6
|
-
Requires-Dist: odoo==18.0.*
|
|
3
|
+
Version: 19.0.1.0.0.3
|
|
4
|
+
Requires-Dist: odoo-addon-account_statement_import_file==19.0.*
|
|
5
|
+
Requires-Dist: odoo==19.0.*
|
|
7
6
|
Summary: CAMT Format Bank Statements Import
|
|
8
7
|
Home-page: https://github.com/OCA/bank-statement-import
|
|
9
8
|
License: AGPL-3
|
|
@@ -11,8 +10,13 @@ Author: Therp BV, Odoo Community Association (OCA)
|
|
|
11
10
|
Author-email: support@odoo-community.org
|
|
12
11
|
Classifier: Programming Language :: Python
|
|
13
12
|
Classifier: Framework :: Odoo
|
|
14
|
-
Classifier: Framework :: Odoo ::
|
|
13
|
+
Classifier: Framework :: Odoo :: 19.0
|
|
15
14
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
|
+
Description-Content-Type: text/x-rst
|
|
16
|
+
|
|
17
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
18
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
19
|
+
:alt: Odoo Community Association
|
|
16
20
|
|
|
17
21
|
==================================
|
|
18
22
|
CAMT Format Bank Statements Import
|
|
@@ -23,23 +27,23 @@ CAMT Format Bank Statements Import
|
|
|
23
27
|
!! This file is generated by oca-gen-addon-readme !!
|
|
24
28
|
!! changes will be overwritten. !!
|
|
25
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
26
|
-
!! source digest: sha256:
|
|
30
|
+
!! source digest: sha256:3bb1a423d0e284b5bc9c8238ec1eab88d1727ee22527ed32b6f8217c957c883b
|
|
27
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
32
|
|
|
29
33
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
30
34
|
:target: https://odoo-community.org/page/development-status
|
|
31
35
|
:alt: Beta
|
|
32
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
36
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
33
37
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
34
38
|
:alt: License: AGPL-3
|
|
35
39
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github
|
|
36
|
-
:target: https://github.com/OCA/bank-statement-import/tree/
|
|
40
|
+
:target: https://github.com/OCA/bank-statement-import/tree/19.0/account_statement_import_camt
|
|
37
41
|
:alt: OCA/bank-statement-import
|
|
38
42
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
39
|
-
:target: https://translation.odoo-community.org/projects/bank-statement-import-
|
|
43
|
+
:target: https://translation.odoo-community.org/projects/bank-statement-import-19-0/bank-statement-import-19-0-account_statement_import_camt
|
|
40
44
|
:alt: Translate me on Weblate
|
|
41
45
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
42
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=
|
|
46
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=19.0
|
|
43
47
|
:alt: Try me on Runboat
|
|
44
48
|
|
|
45
49
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -57,7 +61,7 @@ Bug Tracker
|
|
|
57
61
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
58
62
|
In case of trouble, please check there if your issue has already been reported.
|
|
59
63
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
60
|
-
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%
|
|
64
|
+
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
61
65
|
|
|
62
66
|
Do not contact contributors directly about support or help with technical issues.
|
|
63
67
|
|
|
@@ -109,6 +113,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
109
113
|
mission is to support the collaborative development of Odoo features and
|
|
110
114
|
promote its widespread use.
|
|
111
115
|
|
|
112
|
-
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/
|
|
116
|
+
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/19.0/account_statement_import_camt>`_ project on GitHub.
|
|
113
117
|
|
|
114
118
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
odoo/addons/account_statement_import_camt/README.rst,sha256=
|
|
2
|
-
odoo/addons/account_statement_import_camt/__init__.py,sha256=
|
|
3
|
-
odoo/addons/account_statement_import_camt/__manifest__.py,sha256=
|
|
4
|
-
odoo/addons/account_statement_import_camt/i18n/account_statement_import_camt.pot,sha256=
|
|
1
|
+
odoo/addons/account_statement_import_camt/README.rst,sha256=JDubhs5WmyS8-ksTFp9qD4i13ojlkCiF6nDyFDCyO7k,3728
|
|
2
|
+
odoo/addons/account_statement_import_camt/__init__.py,sha256=R3l5zcM1DHY7iqr3kt92069kmImpPafRbNSzv6p_hBE,42
|
|
3
|
+
odoo/addons/account_statement_import_camt/__manifest__.py,sha256=kxvgbI609Ube2CdfEVJodkrBEdv77Yf8ckQObYQQiC4,493
|
|
4
|
+
odoo/addons/account_statement_import_camt/i18n/account_statement_import_camt.pot,sha256=d97HvR6nW-pI0DxbFflYX2aXy7Tx4puZUR3o5_LXyNU,3470
|
|
5
5
|
odoo/addons/account_statement_import_camt/i18n/de.po,sha256=pNMF_ShipraFlQvc--hGsOZT_PyXWveKMAX9luptivY,6177
|
|
6
6
|
odoo/addons/account_statement_import_camt/i18n/es.po,sha256=OA6EzKvE1aIVRI2eH2lGEWFxH42y3kZFNrhvaCO5JJc,6983
|
|
7
7
|
odoo/addons/account_statement_import_camt/i18n/fa.po,sha256=PtrRjJw123B1SmQHj3nIfUG6MprES471g-wl9gJa5gc,6499
|
|
@@ -17,16 +17,14 @@ odoo/addons/account_statement_import_camt/i18n/nl.po,sha256=Pr6akbeUe8FOA-WmDBUv
|
|
|
17
17
|
odoo/addons/account_statement_import_camt/i18n/pt_BR.po,sha256=3bx7RGv9yRZbemLRKP6nOd5uu_ujJgHsk7jkKkda42c,6175
|
|
18
18
|
odoo/addons/account_statement_import_camt/i18n/pt_PT.po,sha256=z2rqRu0PzAUT-vZc_KrRX3Iwz0fpeojgdVcu-7xoxtg,6141
|
|
19
19
|
odoo/addons/account_statement_import_camt/i18n/sl.po,sha256=P36jwGI-VBcfkcKDIJxWsg295Npu1dIn9NGhdvH123o,6202
|
|
20
|
-
odoo/addons/account_statement_import_camt/models/__init__.py,sha256=
|
|
21
|
-
odoo/addons/account_statement_import_camt/models/account_journal.py,sha256=
|
|
22
|
-
odoo/addons/account_statement_import_camt/models/account_statement_import.py,sha256=mZ1aiJQLHX0uEdGlr9XgERZt3CPAEvwm5MaJrXd2ziI,1484
|
|
23
|
-
odoo/addons/account_statement_import_camt/models/account_statement_import_camt_parser.py,sha256=gJyKxxoMvFF15K-m3eG2MQ8ZvjAZWnLCgYaAL_iuq48,16466
|
|
20
|
+
odoo/addons/account_statement_import_camt/models/__init__.py,sha256=PNUfckxG6z1uZZxHevj2k0TJBShKVCvbN7vQ6ZIhH9k,30
|
|
21
|
+
odoo/addons/account_statement_import_camt/models/account_journal.py,sha256=eQYwvl9wg3t8G04F2VqC9IlnT898aRfrQee21ro1n10,522
|
|
24
22
|
odoo/addons/account_statement_import_camt/readme/CONTRIBUTORS.md,sha256=hZc54B8K1Texzl3EXZo3DToJQlvV_zCY5lUkBYQDfmM,398
|
|
25
23
|
odoo/addons/account_statement_import_camt/readme/CREDITS.md,sha256=IzGWZLT0XbHLCxRi-vnulPar3pBaTX6clPug8b7uvH4,174
|
|
26
24
|
odoo/addons/account_statement_import_camt/readme/DESCRIPTION.md,sha256=JF6P6jSlcI00WiuY_uWzp-VuAzlZsMh3rco3Hw2go7E,73
|
|
27
25
|
odoo/addons/account_statement_import_camt/readme/newsfragment/1_verbose_narration.feature,sha256=cKKbLxMpPc-CNfVB56VXvGdbh9-tR3RXTrKHNRLOBDA,902
|
|
28
26
|
odoo/addons/account_statement_import_camt/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
29
|
-
odoo/addons/account_statement_import_camt/static/description/index.html,sha256=
|
|
27
|
+
odoo/addons/account_statement_import_camt/static/description/index.html,sha256=mg7uu1IkZWYAEowjUEqej2JoILH_sWAfxpqE6x0z2QY,14127
|
|
30
28
|
odoo/addons/account_statement_import_camt/tests/__init__.py,sha256=fbXubjUerAxsn870MhzwyT_uLaCIt7jWiD91l9FwsRo,41
|
|
31
29
|
odoo/addons/account_statement_import_camt/tests/test_import_bank_statement.py,sha256=5q6NrPuPtNHHs0RuvXXaGUdZB2pfIAthsOB7sIaxX2Y,7896
|
|
32
30
|
odoo/addons/account_statement_import_camt/tests/samples/golden-camt053-no-ntry.pydata,sha256=qy8rWuvdmrJDfrLsYTOoBWI5_p7kCJUcH0GB5TLaPQ0,17
|
|
@@ -38,8 +36,11 @@ odoo/addons/account_statement_import_camt/tests/samples/test-camt053-no-ntry,sha
|
|
|
38
36
|
odoo/addons/account_statement_import_camt/tests/samples/test-camt053-txdtls,sha256=FHvLjntXmgvNYG6ePiBYyfwIjG6o9b-S30_gbZQoh7U,6443
|
|
39
37
|
odoo/addons/account_statement_import_camt/tests/samples/test-camt053.zip,sha256=7PBdW6gUth4FucG26-555dx46e9aAEzoJLRluCFaq8I,3111
|
|
40
38
|
odoo/addons/account_statement_import_camt/tests/samples/test-camt054,sha256=KmxxDrLbhICAML57Uf8OtIi_7Oml6cjnqxggQgKR0qg,3833
|
|
41
|
-
odoo/addons/account_statement_import_camt/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
odoo_addon_account_statement_import_camt-
|
|
39
|
+
odoo/addons/account_statement_import_camt/wizard/__init__.py,sha256=jYXT_WnvUIsHafG4xhziteVCE9KsvIfTKBV5gdIQFnw,90
|
|
40
|
+
odoo/addons/account_statement_import_camt/wizard/account_bank_statement_import.xml,sha256=sig4XIO6sOcK4OluJJuSZs8ikWsIrJuOTZEWmDxmEL8,529
|
|
41
|
+
odoo/addons/account_statement_import_camt/wizard/account_statement_import.py,sha256=mZ1aiJQLHX0uEdGlr9XgERZt3CPAEvwm5MaJrXd2ziI,1484
|
|
42
|
+
odoo/addons/account_statement_import_camt/wizard/account_statement_import_camt_parser.py,sha256=LdDSTrUKksK70RqmtrhX2eOpsNoT458sBvO_IRw-ML8,16672
|
|
43
|
+
odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info/METADATA,sha256=nBqnJgyQre0zTGJIT4DUwW0E5AhvFB416jLVVWtNIvo,4344
|
|
44
|
+
odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
45
|
+
odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
46
|
+
odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info/RECORD,,
|
/odoo/addons/account_statement_import_camt/{views → wizard}/account_bank_statement_import.xml
RENAMED
|
File without changes
|
|
File without changes
|