odoo-addon-account-statement-import-camt 18.0.1.0.1__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 +6 -6
- 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 +4 -4
- 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 +26 -27
- {odoo_addon_account_statement_import_camt-18.0.1.0.1.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/METADATA +10 -11
- {odoo_addon_account_statement_import_camt-18.0.1.0.1.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/RECORD +15 -14
- /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.1.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/WHEEL +0 -0
- {odoo_addon_account_statement_import_camt-18.0.1.0.1.dist-info → odoo_addon_account_statement_import_camt-19.0.1.0.0.3.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ CAMT Format Bank Statements Import
|
|
|
11
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
12
12
|
!! changes will be overwritten. !!
|
|
13
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
14
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:3bb1a423d0e284b5bc9c8238ec1eab88d1727ee22527ed32b6f8217c957c883b
|
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
16
16
|
|
|
17
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -21,13 +21,13 @@ CAMT Format Bank Statements Import
|
|
|
21
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
22
22
|
:alt: License: AGPL-3
|
|
23
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github
|
|
24
|
-
: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
|
|
25
25
|
:alt: OCA/bank-statement-import
|
|
26
26
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
27
|
-
: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
|
|
28
28
|
:alt: Translate me on Weblate
|
|
29
29
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
30
|
-
: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
|
|
31
31
|
:alt: Try me on Runboat
|
|
32
32
|
|
|
33
33
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -45,7 +45,7 @@ Bug Tracker
|
|
|
45
45
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
46
46
|
In case of trouble, please check there if your issue has already been reported.
|
|
47
47
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
48
|
-
`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**>`_.
|
|
49
49
|
|
|
50
50
|
Do not contact contributors directly about support or help with technical issues.
|
|
51
51
|
|
|
@@ -97,6 +97,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
97
97
|
mission is to support the collaborative development of Odoo features and
|
|
98
98
|
promote its widespread use.
|
|
99
99
|
|
|
100
|
-
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.
|
|
101
101
|
|
|
102
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
|
|
@@ -372,9 +372,9 @@ ul.auto-toc {
|
|
|
372
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
373
373
|
!! changes will be overwritten. !!
|
|
374
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
375
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:3bb1a423d0e284b5bc9c8238ec1eab88d1727ee22527ed32b6f8217c957c883b
|
|
376
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
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/
|
|
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>
|
|
378
378
|
<p>Module to import SEPA CAMT.053 and CAMT.054 Format bank statement files.</p>
|
|
379
379
|
<p><strong>Table of contents</strong></p>
|
|
380
380
|
<div class="contents local topic" id="contents">
|
|
@@ -394,7 +394,7 @@ ul.auto-toc {
|
|
|
394
394
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
|
|
395
395
|
In case of trouble, please check there if your issue has already been reported.
|
|
396
396
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
397
|
-
<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>
|
|
398
398
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
399
399
|
</div>
|
|
400
400
|
<div class="section" id="credits">
|
|
@@ -445,7 +445,7 @@ financially supported by Camptocamp</p>
|
|
|
445
445
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
446
446
|
mission is to support the collaborative development of Odoo features and
|
|
447
447
|
promote its widespread use.</p>
|
|
448
|
-
<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>
|
|
449
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>
|
|
450
450
|
</div>
|
|
451
451
|
</div>
|
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,10 +269,9 @@ 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
|
|
@@ -300,14 +299,14 @@ class AccountStatementImportCamtParser(models.AbstractModel):
|
|
|
300
299
|
node,
|
|
301
300
|
"./ns:AddtlNtryInf",
|
|
302
301
|
transaction["narration"],
|
|
303
|
-
f"{_('Additional Entry Information')} (AddtlNtryInf)",
|
|
302
|
+
f"{self.env._('Additional Entry Information')} (AddtlNtryInf)",
|
|
304
303
|
)
|
|
305
304
|
self.add_value_from_node(
|
|
306
305
|
ns,
|
|
307
306
|
node,
|
|
308
307
|
"./ns:RvslInd",
|
|
309
308
|
transaction["narration"],
|
|
310
|
-
f"{_('Reversal Indicator')} (RvslInd)",
|
|
309
|
+
f"{self.env._('Reversal Indicator')} (RvslInd)",
|
|
311
310
|
)
|
|
312
311
|
|
|
313
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,7 +10,7 @@ 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
|
|
16
15
|
Description-Content-Type: text/x-rst
|
|
17
16
|
|
|
@@ -28,7 +27,7 @@ CAMT Format Bank Statements Import
|
|
|
28
27
|
!! This file is generated by oca-gen-addon-readme !!
|
|
29
28
|
!! changes will be overwritten. !!
|
|
30
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
|
-
!! source digest: sha256:
|
|
30
|
+
!! source digest: sha256:3bb1a423d0e284b5bc9c8238ec1eab88d1727ee22527ed32b6f8217c957c883b
|
|
32
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
33
32
|
|
|
34
33
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -38,13 +37,13 @@ CAMT Format Bank Statements Import
|
|
|
38
37
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
39
38
|
:alt: License: AGPL-3
|
|
40
39
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github
|
|
41
|
-
: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
|
|
42
41
|
:alt: OCA/bank-statement-import
|
|
43
42
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
44
|
-
: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
|
|
45
44
|
:alt: Translate me on Weblate
|
|
46
45
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
47
|
-
: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
|
|
48
47
|
:alt: Try me on Runboat
|
|
49
48
|
|
|
50
49
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -62,7 +61,7 @@ Bug Tracker
|
|
|
62
61
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
63
62
|
In case of trouble, please check there if your issue has already been reported.
|
|
64
63
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
65
|
-
`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**>`_.
|
|
66
65
|
|
|
67
66
|
Do not contact contributors directly about support or help with technical issues.
|
|
68
67
|
|
|
@@ -114,6 +113,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
114
113
|
mission is to support the collaborative development of Odoo features and
|
|
115
114
|
promote its widespread use.
|
|
116
115
|
|
|
117
|
-
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.
|
|
118
117
|
|
|
119
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=hwUeimZhAipxYK_9069hVE7Wl-_4t53T-omt_6EtbqY,16511
|
|
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
|
|
File without changes
|