odoo-addon-account-statement-import-camt 16.0.1.0.2.1__py3-none-any.whl → 17.0.1.0.0.1__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 +26 -19
- odoo/addons/account_statement_import_camt/__manifest__.py +1 -1
- odoo/addons/account_statement_import_camt/i18n/account_statement_import_camt.pot +23 -34
- odoo/addons/account_statement_import_camt/i18n/it.po +26 -26
- odoo/addons/account_statement_import_camt/models/__init__.py +2 -4
- odoo/addons/account_statement_import_camt/models/account_journal.py +1 -3
- odoo/addons/account_statement_import_camt/models/account_statement_import.py +1 -1
- odoo/addons/account_statement_import_camt/models/{parser.py → account_statement_import_camt_parser.py} +16 -21
- odoo/addons/account_statement_import_camt/readme/CONTRIBUTORS.md +15 -0
- odoo/addons/account_statement_import_camt/readme/{CREDITS.rst → CREDITS.md} +2 -1
- odoo/addons/account_statement_import_camt/static/description/index.html +22 -21
- odoo/addons/account_statement_import_camt/test_files/golden-camt053-txdtls.pydata +2 -2
- odoo/addons/account_statement_import_camt/tests/test_import_bank_statement.py +8 -9
- {odoo_addon_account_statement_import_camt-16.0.1.0.2.1.dist-info → odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info}/METADATA +32 -25
- {odoo_addon_account_statement_import_camt-16.0.1.0.2.1.dist-info → odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info}/RECORD +18 -20
- {odoo_addon_account_statement_import_camt-16.0.1.0.2.1.dist-info → odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info}/WHEEL +1 -1
- odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info/top_level.txt +1 -0
- odoo/addons/account_statement_import_camt/models/account_bank_statement_line.py +0 -27
- odoo/addons/account_statement_import_camt/models/bank_statement.py +0 -13
- odoo/addons/account_statement_import_camt/readme/CONTRIBUTORS.rst +0 -9
- odoo_addon_account_statement_import_camt-16.0.1.0.2.1.dist-info/top_level.txt +0 -1
- /odoo/addons/account_statement_import_camt/readme/{DESCRIPTION.rst → DESCRIPTION.md} +0 -0
|
@@ -7,7 +7,7 @@ CAMT Format Bank Statements Import
|
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
8
|
!! changes will be overwritten. !!
|
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
10
|
+
!! source digest: sha256:a1b71f36ee91c7d89b3cf754ba711cd5d8e50cfb7f9742a9153ca74ce043d458
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -17,13 +17,13 @@ CAMT Format Bank Statements Import
|
|
|
17
17
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
18
|
:alt: License: AGPL-3
|
|
19
19
|
.. |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/
|
|
20
|
+
:target: https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_camt
|
|
21
21
|
:alt: OCA/bank-statement-import
|
|
22
22
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/bank-statement-import-
|
|
23
|
+
:target: https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_camt
|
|
24
24
|
:alt: Translate me on Weblate
|
|
25
25
|
.. |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=
|
|
26
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=17.0
|
|
27
27
|
:alt: Try me on Runboat
|
|
28
28
|
|
|
29
29
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -41,7 +41,7 @@ Bug Tracker
|
|
|
41
41
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
42
42
|
In case of trouble, please check there if your issue has already been reported.
|
|
43
43
|
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:%
|
|
44
|
+
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
45
45
|
|
|
46
46
|
Do not contact contributors directly about support or help with technical issues.
|
|
47
47
|
|
|
@@ -49,30 +49,37 @@ Credits
|
|
|
49
49
|
=======
|
|
50
50
|
|
|
51
51
|
Authors
|
|
52
|
-
|
|
52
|
+
-------
|
|
53
53
|
|
|
54
54
|
* Therp BV
|
|
55
55
|
|
|
56
56
|
Contributors
|
|
57
|
-
|
|
57
|
+
------------
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
* Stefan Rijnhart <stefan.rijnhart@opener.amsterdam>
|
|
61
|
-
* Ronald Portier <rportier@therp.nl>
|
|
62
|
-
* Andrea Stirpe <a.stirpe@onestein.nl>
|
|
63
|
-
* Maxence Groine <mgroine@fiefmanage.ch>
|
|
64
|
-
* Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
|
|
65
|
-
* `Trobz <https://trobz.com>`_:
|
|
59
|
+
- Holger Brunn <mail@hunki-enterprises.com>
|
|
66
60
|
|
|
67
|
-
|
|
61
|
+
- Stefan Rijnhart <stefan.rijnhart@opener.amsterdam>
|
|
62
|
+
|
|
63
|
+
- Ronald Portier <rportier@therp.nl>
|
|
64
|
+
|
|
65
|
+
- Andrea Stirpe <a.stirpe@onestein.nl>
|
|
66
|
+
|
|
67
|
+
- Maxence Groine <mgroine@fiefmanage.ch>
|
|
68
|
+
|
|
69
|
+
- Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
|
|
70
|
+
|
|
71
|
+
- `Trobz <https://trobz.com>`__:
|
|
72
|
+
|
|
73
|
+
- Son Ho <sonhd@trobz.com>
|
|
68
74
|
|
|
69
75
|
Other credits
|
|
70
|
-
|
|
76
|
+
-------------
|
|
71
77
|
|
|
72
|
-
The migration of this module from 15.0 to 16.0 was financially supported
|
|
78
|
+
The migration of this module from 15.0 to 16.0 was financially supported
|
|
79
|
+
by Camptocamp
|
|
73
80
|
|
|
74
81
|
Maintainers
|
|
75
|
-
|
|
82
|
+
-----------
|
|
76
83
|
|
|
77
84
|
This module is maintained by the OCA.
|
|
78
85
|
|
|
@@ -84,6 +91,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
84
91
|
mission is to support the collaborative development of Odoo features and
|
|
85
92
|
promote its widespread use.
|
|
86
93
|
|
|
87
|
-
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/
|
|
94
|
+
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_camt>`_ project on GitHub.
|
|
88
95
|
|
|
89
96
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -2,7 +2,7 @@
|
|
|
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": "17.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",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
msgid ""
|
|
6
6
|
msgstr ""
|
|
7
|
-
"Project-Id-Version: Odoo Server
|
|
7
|
+
"Project-Id-Version: Odoo Server 17.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -20,36 +20,25 @@ msgstr ""
|
|
|
20
20
|
|
|
21
21
|
#. module: account_statement_import_camt
|
|
22
22
|
#. odoo-python
|
|
23
|
-
#: code:addons/account_statement_import_camt/models/
|
|
23
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
24
24
|
#, python-format
|
|
25
25
|
msgid "Account Servicer Reference"
|
|
26
26
|
msgstr ""
|
|
27
27
|
|
|
28
28
|
#. module: account_statement_import_camt
|
|
29
29
|
#. odoo-python
|
|
30
|
-
#: code:addons/account_statement_import_camt/models/
|
|
31
|
-
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
30
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
32
31
|
#, python-format
|
|
33
32
|
msgid "Additional Entry Information"
|
|
34
33
|
msgstr ""
|
|
35
34
|
|
|
36
35
|
#. module: account_statement_import_camt
|
|
37
36
|
#. odoo-python
|
|
38
|
-
#: code:addons/account_statement_import_camt/models/
|
|
37
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
39
38
|
#, python-format
|
|
40
39
|
msgid "Additional Transaction Information"
|
|
41
40
|
msgstr ""
|
|
42
41
|
|
|
43
|
-
#. module: account_statement_import_camt
|
|
44
|
-
#: model:ir.model,name:account_statement_import_camt.model_account_bank_statement
|
|
45
|
-
msgid "Bank Statement"
|
|
46
|
-
msgstr ""
|
|
47
|
-
|
|
48
|
-
#. module: account_statement_import_camt
|
|
49
|
-
#: model:ir.model,name:account_statement_import_camt.model_account_bank_statement_line
|
|
50
|
-
msgid "Bank Statement Line"
|
|
51
|
-
msgstr ""
|
|
52
|
-
|
|
53
42
|
#. module: account_statement_import_camt
|
|
54
43
|
#: model_terms:ir.ui.view,arch_db:account_statement_import_camt.account_statement_import_view
|
|
55
44
|
msgid "CAMT"
|
|
@@ -57,21 +46,21 @@ msgstr ""
|
|
|
57
46
|
|
|
58
47
|
#. module: account_statement_import_camt
|
|
59
48
|
#. odoo-python
|
|
60
|
-
#: code:addons/account_statement_import_camt/models/
|
|
49
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
61
50
|
#, python-format
|
|
62
51
|
msgid "Cheque Number"
|
|
63
52
|
msgstr ""
|
|
64
53
|
|
|
65
54
|
#. module: account_statement_import_camt
|
|
66
55
|
#. odoo-python
|
|
67
|
-
#: code:addons/account_statement_import_camt/models/
|
|
56
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
68
57
|
#, python-format
|
|
69
58
|
msgid "Communication"
|
|
70
59
|
msgstr ""
|
|
71
60
|
|
|
72
61
|
#. module: account_statement_import_camt
|
|
73
62
|
#. odoo-python
|
|
74
|
-
#: code:addons/account_statement_import_camt/models/
|
|
63
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
75
64
|
#, python-format
|
|
76
65
|
msgid "End To End Id"
|
|
77
66
|
msgstr ""
|
|
@@ -83,7 +72,7 @@ msgstr ""
|
|
|
83
72
|
|
|
84
73
|
#. module: account_statement_import_camt
|
|
85
74
|
#. odoo-python
|
|
86
|
-
#: code:addons/account_statement_import_camt/models/
|
|
75
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
87
76
|
#, python-format
|
|
88
77
|
msgid "Instructed Id"
|
|
89
78
|
msgstr ""
|
|
@@ -95,105 +84,105 @@ msgstr ""
|
|
|
95
84
|
|
|
96
85
|
#. module: account_statement_import_camt
|
|
97
86
|
#. odoo-python
|
|
98
|
-
#: code:addons/account_statement_import_camt/models/
|
|
87
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
99
88
|
#, python-format
|
|
100
89
|
msgid "Mandate Id"
|
|
101
90
|
msgstr ""
|
|
102
91
|
|
|
103
92
|
#. module: account_statement_import_camt
|
|
104
93
|
#. odoo-python
|
|
105
|
-
#: code:addons/account_statement_import_camt/models/
|
|
94
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
106
95
|
#, python-format
|
|
107
96
|
msgid "Msg Id"
|
|
108
97
|
msgstr ""
|
|
109
98
|
|
|
110
99
|
#. module: account_statement_import_camt
|
|
111
100
|
#. odoo-python
|
|
112
|
-
#: code:addons/account_statement_import_camt/models/
|
|
101
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
113
102
|
#, python-format
|
|
114
103
|
msgid "Partner Account Number"
|
|
115
104
|
msgstr ""
|
|
116
105
|
|
|
117
106
|
#. module: account_statement_import_camt
|
|
118
107
|
#. odoo-python
|
|
119
|
-
#: code:addons/account_statement_import_camt/models/
|
|
108
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
120
109
|
#, python-format
|
|
121
110
|
msgid "Partner Name"
|
|
122
111
|
msgstr ""
|
|
123
112
|
|
|
124
113
|
#. module: account_statement_import_camt
|
|
125
114
|
#. odoo-python
|
|
126
|
-
#: code:addons/account_statement_import_camt/models/
|
|
115
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
127
116
|
#, python-format
|
|
128
117
|
msgid "Postal Address"
|
|
129
118
|
msgstr ""
|
|
130
119
|
|
|
131
120
|
#. module: account_statement_import_camt
|
|
132
121
|
#. odoo-python
|
|
133
|
-
#: code:addons/account_statement_import_camt/models/
|
|
122
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
134
123
|
#, python-format
|
|
135
124
|
msgid "Reference"
|
|
136
125
|
msgstr ""
|
|
137
126
|
|
|
138
127
|
#. module: account_statement_import_camt
|
|
139
128
|
#. odoo-python
|
|
140
|
-
#: code:addons/account_statement_import_camt/models/
|
|
129
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
141
130
|
#, python-format
|
|
142
131
|
msgid "Return Reason Additional Information"
|
|
143
132
|
msgstr ""
|
|
144
133
|
|
|
145
134
|
#. module: account_statement_import_camt
|
|
146
135
|
#. odoo-python
|
|
147
|
-
#: code:addons/account_statement_import_camt/models/
|
|
136
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
148
137
|
#, python-format
|
|
149
138
|
msgid "Return Reason Code"
|
|
150
139
|
msgstr ""
|
|
151
140
|
|
|
152
141
|
#. module: account_statement_import_camt
|
|
153
142
|
#. odoo-python
|
|
154
|
-
#: code:addons/account_statement_import_camt/models/
|
|
143
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
155
144
|
#, python-format
|
|
156
145
|
msgid "Return Reason Code (Proprietary)"
|
|
157
146
|
msgstr ""
|
|
158
147
|
|
|
159
148
|
#. module: account_statement_import_camt
|
|
160
149
|
#. odoo-python
|
|
161
|
-
#: code:addons/account_statement_import_camt/models/
|
|
150
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
162
151
|
#, python-format
|
|
163
152
|
msgid "Reversal Indicator"
|
|
164
153
|
msgstr ""
|
|
165
154
|
|
|
166
155
|
#. module: account_statement_import_camt
|
|
167
156
|
#. odoo-python
|
|
168
|
-
#: code:addons/account_statement_import_camt/models/
|
|
157
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
169
158
|
#, python-format
|
|
170
159
|
msgid "Structured Reference"
|
|
171
160
|
msgstr ""
|
|
172
161
|
|
|
173
162
|
#. module: account_statement_import_camt
|
|
174
163
|
#. odoo-python
|
|
175
|
-
#: code:addons/account_statement_import_camt/models/
|
|
164
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
176
165
|
#, python-format
|
|
177
166
|
msgid "Transaction Date"
|
|
178
167
|
msgstr ""
|
|
179
168
|
|
|
180
169
|
#. module: account_statement_import_camt
|
|
181
170
|
#. odoo-python
|
|
182
|
-
#: code:addons/account_statement_import_camt/models/
|
|
171
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
183
172
|
#, python-format
|
|
184
173
|
msgid "Transaction Identification"
|
|
185
174
|
msgstr ""
|
|
186
175
|
|
|
187
176
|
#. module: account_statement_import_camt
|
|
188
177
|
#. odoo-python
|
|
189
|
-
#: code:addons/account_statement_import_camt/models/
|
|
178
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
190
179
|
#, python-format
|
|
191
180
|
msgid "Transaction Type"
|
|
192
181
|
msgstr ""
|
|
193
182
|
|
|
194
183
|
#. module: account_statement_import_camt
|
|
195
184
|
#. odoo-python
|
|
196
|
-
#: code:addons/account_statement_import_camt/models/
|
|
185
|
+
#: code:addons/account_statement_import_camt/models/account_statement_import_camt_parser.py:0
|
|
197
186
|
#, python-format
|
|
198
187
|
msgid "Unstructured Reference"
|
|
199
188
|
msgstr ""
|
|
@@ -6,7 +6,7 @@ msgid ""
|
|
|
6
6
|
msgstr ""
|
|
7
7
|
"Project-Id-Version: Odoo Server 15.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
|
-
"PO-Revision-Date: 2024-
|
|
9
|
+
"PO-Revision-Date: 2024-02-07 10:38+0000\n"
|
|
10
10
|
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
|
11
11
|
"Language-Team: none\n"
|
|
12
12
|
"Language: it\n"
|
|
@@ -14,33 +14,33 @@ msgstr ""
|
|
|
14
14
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
15
15
|
"Content-Transfer-Encoding: \n"
|
|
16
16
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
|
17
|
-
"X-Generator: Weblate
|
|
17
|
+
"X-Generator: Weblate 4.17\n"
|
|
18
18
|
|
|
19
19
|
#. module: account_statement_import_camt
|
|
20
20
|
#: model:ir.model,name:account_statement_import_camt.model_account_statement_import_camt_parser
|
|
21
21
|
msgid "Account Bank Statement Import CAMT parser"
|
|
22
|
-
msgstr "
|
|
22
|
+
msgstr ""
|
|
23
23
|
|
|
24
24
|
#. module: account_statement_import_camt
|
|
25
25
|
#. odoo-python
|
|
26
26
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
27
27
|
#, python-format
|
|
28
28
|
msgid "Account Servicer Reference"
|
|
29
|
-
msgstr "
|
|
29
|
+
msgstr ""
|
|
30
30
|
|
|
31
31
|
#. module: account_statement_import_camt
|
|
32
32
|
#. odoo-python
|
|
33
33
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
34
34
|
#, python-format
|
|
35
35
|
msgid "Additional Entry Information"
|
|
36
|
-
msgstr "
|
|
36
|
+
msgstr ""
|
|
37
37
|
|
|
38
38
|
#. module: account_statement_import_camt
|
|
39
39
|
#. odoo-python
|
|
40
40
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
41
41
|
#, python-format
|
|
42
42
|
msgid "Additional Transaction Information"
|
|
43
|
-
msgstr "
|
|
43
|
+
msgstr ""
|
|
44
44
|
|
|
45
45
|
#. module: account_statement_import_camt
|
|
46
46
|
#: model:ir.model,name:account_statement_import_camt.model_account_bank_statement
|
|
@@ -62,21 +62,21 @@ msgstr "CAMT"
|
|
|
62
62
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
63
63
|
#, python-format
|
|
64
64
|
msgid "Cheque Number"
|
|
65
|
-
msgstr "
|
|
65
|
+
msgstr ""
|
|
66
66
|
|
|
67
67
|
#. module: account_statement_import_camt
|
|
68
68
|
#. odoo-python
|
|
69
69
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
70
70
|
#, python-format
|
|
71
71
|
msgid "Communication"
|
|
72
|
-
msgstr "
|
|
72
|
+
msgstr ""
|
|
73
73
|
|
|
74
74
|
#. module: account_statement_import_camt
|
|
75
75
|
#. odoo-python
|
|
76
76
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
77
77
|
#, python-format
|
|
78
78
|
msgid "End To End Id"
|
|
79
|
-
msgstr "
|
|
79
|
+
msgstr ""
|
|
80
80
|
|
|
81
81
|
#. module: account_statement_import_camt
|
|
82
82
|
#: model:ir.model,name:account_statement_import_camt.model_account_statement_import
|
|
@@ -88,7 +88,7 @@ msgstr "Importazione file estratto conto bancario"
|
|
|
88
88
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
89
89
|
#, python-format
|
|
90
90
|
msgid "Instructed Id"
|
|
91
|
-
msgstr "
|
|
91
|
+
msgstr ""
|
|
92
92
|
|
|
93
93
|
#. module: account_statement_import_camt
|
|
94
94
|
#: model:ir.model,name:account_statement_import_camt.model_account_journal
|
|
@@ -100,105 +100,105 @@ msgstr "Registro"
|
|
|
100
100
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
101
101
|
#, python-format
|
|
102
102
|
msgid "Mandate Id"
|
|
103
|
-
msgstr "
|
|
103
|
+
msgstr ""
|
|
104
104
|
|
|
105
105
|
#. module: account_statement_import_camt
|
|
106
106
|
#. odoo-python
|
|
107
107
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
108
108
|
#, python-format
|
|
109
109
|
msgid "Msg Id"
|
|
110
|
-
msgstr "
|
|
110
|
+
msgstr ""
|
|
111
111
|
|
|
112
112
|
#. module: account_statement_import_camt
|
|
113
113
|
#. odoo-python
|
|
114
114
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
115
115
|
#, python-format
|
|
116
116
|
msgid "Partner Account Number"
|
|
117
|
-
msgstr "
|
|
117
|
+
msgstr ""
|
|
118
118
|
|
|
119
119
|
#. module: account_statement_import_camt
|
|
120
120
|
#. odoo-python
|
|
121
121
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
122
122
|
#, python-format
|
|
123
123
|
msgid "Partner Name"
|
|
124
|
-
msgstr "
|
|
124
|
+
msgstr ""
|
|
125
125
|
|
|
126
126
|
#. module: account_statement_import_camt
|
|
127
127
|
#. odoo-python
|
|
128
128
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
129
129
|
#, python-format
|
|
130
130
|
msgid "Postal Address"
|
|
131
|
-
msgstr "
|
|
131
|
+
msgstr ""
|
|
132
132
|
|
|
133
133
|
#. module: account_statement_import_camt
|
|
134
134
|
#. odoo-python
|
|
135
135
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
136
136
|
#, python-format
|
|
137
137
|
msgid "Reference"
|
|
138
|
-
msgstr "
|
|
138
|
+
msgstr ""
|
|
139
139
|
|
|
140
140
|
#. module: account_statement_import_camt
|
|
141
141
|
#. odoo-python
|
|
142
142
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
143
143
|
#, python-format
|
|
144
144
|
msgid "Return Reason Additional Information"
|
|
145
|
-
msgstr "
|
|
145
|
+
msgstr ""
|
|
146
146
|
|
|
147
147
|
#. module: account_statement_import_camt
|
|
148
148
|
#. odoo-python
|
|
149
149
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
150
150
|
#, python-format
|
|
151
151
|
msgid "Return Reason Code"
|
|
152
|
-
msgstr "
|
|
152
|
+
msgstr ""
|
|
153
153
|
|
|
154
154
|
#. module: account_statement_import_camt
|
|
155
155
|
#. odoo-python
|
|
156
156
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
157
157
|
#, python-format
|
|
158
158
|
msgid "Return Reason Code (Proprietary)"
|
|
159
|
-
msgstr "
|
|
159
|
+
msgstr ""
|
|
160
160
|
|
|
161
161
|
#. module: account_statement_import_camt
|
|
162
162
|
#. odoo-python
|
|
163
163
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
164
164
|
#, python-format
|
|
165
165
|
msgid "Reversal Indicator"
|
|
166
|
-
msgstr "
|
|
166
|
+
msgstr ""
|
|
167
167
|
|
|
168
168
|
#. module: account_statement_import_camt
|
|
169
169
|
#. odoo-python
|
|
170
170
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
171
171
|
#, python-format
|
|
172
172
|
msgid "Structured Reference"
|
|
173
|
-
msgstr "
|
|
173
|
+
msgstr ""
|
|
174
174
|
|
|
175
175
|
#. module: account_statement_import_camt
|
|
176
176
|
#. odoo-python
|
|
177
177
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
178
178
|
#, python-format
|
|
179
179
|
msgid "Transaction Date"
|
|
180
|
-
msgstr "
|
|
180
|
+
msgstr ""
|
|
181
181
|
|
|
182
182
|
#. module: account_statement_import_camt
|
|
183
183
|
#. odoo-python
|
|
184
184
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
185
185
|
#, python-format
|
|
186
186
|
msgid "Transaction Identification"
|
|
187
|
-
msgstr "
|
|
187
|
+
msgstr ""
|
|
188
188
|
|
|
189
189
|
#. module: account_statement_import_camt
|
|
190
190
|
#. odoo-python
|
|
191
191
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
192
192
|
#, python-format
|
|
193
193
|
msgid "Transaction Type"
|
|
194
|
-
msgstr "
|
|
194
|
+
msgstr ""
|
|
195
195
|
|
|
196
196
|
#. module: account_statement_import_camt
|
|
197
197
|
#. odoo-python
|
|
198
198
|
#: code:addons/account_statement_import_camt/models/parser.py:0
|
|
199
199
|
#, python-format
|
|
200
200
|
msgid "Unstructured Reference"
|
|
201
|
-
msgstr "
|
|
201
|
+
msgstr ""
|
|
202
202
|
|
|
203
203
|
#. module: account_statement_import_camt
|
|
204
204
|
#. odoo-python
|
|
@@ -217,7 +217,7 @@ msgstr "camt.054.001.02"
|
|
|
217
217
|
#. module: account_statement_import_camt
|
|
218
218
|
#: model_terms:ir.ui.view,arch_db:account_statement_import_camt.account_statement_import_view
|
|
219
219
|
msgid "zipped CAMT"
|
|
220
|
-
msgstr "
|
|
220
|
+
msgstr ""
|
|
221
221
|
|
|
222
222
|
#~ msgid "Display Name"
|
|
223
223
|
#~ msgstr "Nome visualizzato"
|
|
@@ -8,8 +8,6 @@ class AccountJournal(models.Model):
|
|
|
8
8
|
_inherit = "account.journal"
|
|
9
9
|
|
|
10
10
|
def _get_bank_statements_available_import_formats(self):
|
|
11
|
-
res = super(
|
|
12
|
-
AccountJournal, self
|
|
13
|
-
)._get_bank_statements_available_import_formats()
|
|
11
|
+
res = super()._get_bank_statements_available_import_formats()
|
|
14
12
|
res.extend([_("camt.053.001.02"), _("camt.054.001.02")])
|
|
15
13
|
return res
|
|
@@ -9,7 +9,7 @@ from odoo import models
|
|
|
9
9
|
_logger = logging.getLogger(__name__)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
12
|
+
class AccountStatementImport(models.TransientModel):
|
|
13
13
|
_inherit = "account.statement.import"
|
|
14
14
|
|
|
15
15
|
def _parse_file(self, data_file):
|
|
@@ -9,7 +9,7 @@ from lxml import etree
|
|
|
9
9
|
from odoo import _, models
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
12
|
+
class AccountStatementImportCamtParser(models.AbstractModel):
|
|
13
13
|
_name = "account.statement.import.camt.parser"
|
|
14
14
|
_description = "Account Bank Statement Import CAMT parser"
|
|
15
15
|
|
|
@@ -39,7 +39,7 @@ class CamtParser(models.AbstractModel):
|
|
|
39
39
|
If xpath_str is a list (or iterable), it will be seen as a series
|
|
40
40
|
of search path's in order of preference. The first item that results
|
|
41
41
|
in a found node will be used to set a value."""
|
|
42
|
-
if not isinstance(xpath_str,
|
|
42
|
+
if not isinstance(xpath_str, list | tuple):
|
|
43
43
|
xpath_str = [xpath_str]
|
|
44
44
|
for search_str in xpath_str:
|
|
45
45
|
found_node = node.xpath(search_str, namespaces={"ns": ns})
|
|
@@ -61,6 +61,7 @@ class CamtParser(models.AbstractModel):
|
|
|
61
61
|
node,
|
|
62
62
|
[
|
|
63
63
|
"./ns:RmtInf/ns:Ustrd|./ns:RtrInf/ns:AddtlInf",
|
|
64
|
+
"./ns:AddtlNtryInf",
|
|
64
65
|
"./ns:Refs/ns:InstrId",
|
|
65
66
|
],
|
|
66
67
|
transaction,
|
|
@@ -192,9 +193,8 @@ class CamtParser(models.AbstractModel):
|
|
|
192
193
|
)
|
|
193
194
|
if party_node:
|
|
194
195
|
name_node = node.xpath(
|
|
195
|
-
"./ns:RltdPties/ns:{
|
|
196
|
-
|
|
197
|
-
),
|
|
196
|
+
f"./ns:RltdPties/ns:{party_type}/ns:Nm |"
|
|
197
|
+
f"./ns:RltdPties/ns:{party_type}/ns:Pty/ns:Nm",
|
|
198
198
|
namespaces={"ns": ns},
|
|
199
199
|
)
|
|
200
200
|
if name_node:
|
|
@@ -245,20 +245,23 @@ class CamtParser(models.AbstractModel):
|
|
|
245
245
|
def generate_narration(self, transaction):
|
|
246
246
|
# this block ensure compatibility with v13
|
|
247
247
|
transaction["narration"] = {
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
248
|
+
"{} (RltdPties/Nm)".format(_("Partner Name")): transaction.get(
|
|
249
|
+
"partner_name", ""
|
|
250
|
+
),
|
|
251
|
+
"{} (RltdPties/Acct)".format(_("Partner Account Number")): transaction.get(
|
|
252
|
+
"account_number", ""
|
|
253
|
+
),
|
|
254
|
+
"{} (BookgDt)".format(_("Transaction Date")): transaction.get("date", ""),
|
|
253
255
|
_("Reference"): transaction.get("ref", ""),
|
|
254
256
|
_("Communication"): transaction.get("name", ""),
|
|
255
|
-
"
|
|
256
|
-
|
|
257
|
+
"{} (BkTxCd)".format(_("Transaction Type")): transaction.get(
|
|
258
|
+
"transaction_type", ""
|
|
259
|
+
),
|
|
257
260
|
**transaction["narration"],
|
|
258
261
|
}
|
|
259
262
|
|
|
260
263
|
transaction["narration"] = "\n".join(
|
|
261
|
-
["
|
|
264
|
+
[f"{key}: {val}" for key, val in transaction["narration"].items()]
|
|
262
265
|
)
|
|
263
266
|
|
|
264
267
|
def parse_entry(self, ns, node):
|
|
@@ -328,7 +331,6 @@ class CamtParser(models.AbstractModel):
|
|
|
328
331
|
|
|
329
332
|
details_nodes = node.xpath("./ns:NtryDtls/ns:TxDtls", namespaces={"ns": ns})
|
|
330
333
|
if len(details_nodes) == 0:
|
|
331
|
-
self.amend_transaction(transaction)
|
|
332
334
|
self.generate_narration(transaction)
|
|
333
335
|
yield transaction
|
|
334
336
|
return
|
|
@@ -336,7 +338,6 @@ class CamtParser(models.AbstractModel):
|
|
|
336
338
|
for node in details_nodes:
|
|
337
339
|
transaction = transaction_base.copy()
|
|
338
340
|
self.parse_transaction_details(ns, node, transaction)
|
|
339
|
-
self.amend_transaction(transaction)
|
|
340
341
|
self.generate_narration(transaction)
|
|
341
342
|
yield transaction
|
|
342
343
|
|
|
@@ -457,9 +458,3 @@ class CamtParser(models.AbstractModel):
|
|
|
457
458
|
account_number = statement.pop("account_number")
|
|
458
459
|
statements.append(statement)
|
|
459
460
|
return currency, account_number, statements
|
|
460
|
-
|
|
461
|
-
def amend_transaction(self, transaction):
|
|
462
|
-
if transaction.get("payment_ref") == "/":
|
|
463
|
-
transaction["payment_ref"] = transaction["narration"].get(
|
|
464
|
-
"%s (AddtlNtryInf)" % _("Additional Entry Information"), "/"
|
|
465
|
-
)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
- Holger Brunn \<<mail@hunki-enterprises.com>\>
|
|
2
|
+
|
|
3
|
+
- Stefan Rijnhart \<<stefan.rijnhart@opener.amsterdam>\>
|
|
4
|
+
|
|
5
|
+
- Ronald Portier \<<rportier@therp.nl>\>
|
|
6
|
+
|
|
7
|
+
- Andrea Stirpe \<<a.stirpe@onestein.nl>\>
|
|
8
|
+
|
|
9
|
+
- Maxence Groine \<<mgroine@fiefmanage.ch>\>
|
|
10
|
+
|
|
11
|
+
- Iryna Vyshnevska \<<i.vyshnevska@mobilunity.com>\>
|
|
12
|
+
|
|
13
|
+
- [Trobz](https://trobz.com):
|
|
14
|
+
|
|
15
|
+
> - Son Ho \<<sonhd@trobz.com>\>
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
The migration of this module from 15.0 to 16.0 was financially supported
|
|
1
|
+
The migration of this module from 15.0 to 16.0 was financially supported
|
|
2
|
+
by Camptocamp
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
3
|
<head>
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
|
-
<meta name="generator" content="Docutils:
|
|
5
|
+
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
|
|
6
6
|
<title>CAMT Format Bank Statements Import</title>
|
|
7
7
|
<style type="text/css">
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
:Author: David Goodger (goodger@python.org)
|
|
11
|
-
:Id: $Id: html4css1.css
|
|
11
|
+
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
|
|
12
12
|
:Copyright: This stylesheet has been placed in the public domain.
|
|
13
13
|
|
|
14
14
|
Default cascading style sheet for the HTML output of Docutils.
|
|
15
15
|
|
|
16
|
-
See
|
|
16
|
+
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
|
17
17
|
customize this style sheet.
|
|
18
18
|
*/
|
|
19
19
|
|
|
@@ -366,43 +366,43 @@ ul.auto-toc {
|
|
|
366
366
|
!! This file is generated by oca-gen-addon-readme !!
|
|
367
367
|
!! changes will be overwritten. !!
|
|
368
368
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
369
|
-
!! source digest: sha256:
|
|
369
|
+
!! source digest: sha256:a1b71f36ee91c7d89b3cf754ba711cd5d8e50cfb7f9742a9153ca74ce043d458
|
|
370
370
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
371
|
-
<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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-statement-import/tree/
|
|
371
|
+
<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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-statement-import/tree/17.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-17-0/bank-statement-import-17-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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
372
372
|
<p>Module to import SEPA CAMT.053 and CAMT.054 Format bank statement files.</p>
|
|
373
373
|
<p><strong>Table of contents</strong></p>
|
|
374
374
|
<div class="contents local topic" id="contents">
|
|
375
375
|
<ul class="simple">
|
|
376
|
-
<li><a class="reference internal" href="#bug-tracker" id="
|
|
377
|
-
<li><a class="reference internal" href="#credits" id="
|
|
378
|
-
<li><a class="reference internal" href="#authors" id="
|
|
379
|
-
<li><a class="reference internal" href="#contributors" id="
|
|
380
|
-
<li><a class="reference internal" href="#other-credits" id="
|
|
381
|
-
<li><a class="reference internal" href="#maintainers" id="
|
|
376
|
+
<li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li>
|
|
377
|
+
<li><a class="reference internal" href="#credits" id="id2">Credits</a><ul>
|
|
378
|
+
<li><a class="reference internal" href="#authors" id="id3">Authors</a></li>
|
|
379
|
+
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
|
|
380
|
+
<li><a class="reference internal" href="#other-credits" id="id5">Other credits</a></li>
|
|
381
|
+
<li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li>
|
|
382
382
|
</ul>
|
|
383
383
|
</li>
|
|
384
384
|
</ul>
|
|
385
385
|
</div>
|
|
386
386
|
<div class="section" id="bug-tracker">
|
|
387
|
-
<h1><a class="toc-backref" href="#
|
|
387
|
+
<h1><a class="toc-backref" href="#id1">Bug Tracker</a></h1>
|
|
388
388
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
|
|
389
389
|
In case of trouble, please check there if your issue has already been reported.
|
|
390
390
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
391
|
-
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%
|
|
391
|
+
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
392
392
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
393
393
|
</div>
|
|
394
394
|
<div class="section" id="credits">
|
|
395
|
-
<h1><a class="toc-backref" href="#
|
|
395
|
+
<h1><a class="toc-backref" href="#id2">Credits</a></h1>
|
|
396
396
|
<div class="section" id="authors">
|
|
397
|
-
<h2><a class="toc-backref" href="#
|
|
397
|
+
<h2><a class="toc-backref" href="#id3">Authors</a></h2>
|
|
398
398
|
<ul class="simple">
|
|
399
399
|
<li>Therp BV</li>
|
|
400
400
|
</ul>
|
|
401
401
|
</div>
|
|
402
402
|
<div class="section" id="contributors">
|
|
403
|
-
<h2><a class="toc-backref" href="#
|
|
403
|
+
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
|
|
404
404
|
<ul>
|
|
405
|
-
<li><p class="first">Holger Brunn <<a class="reference external" href="mailto:
|
|
405
|
+
<li><p class="first">Holger Brunn <<a class="reference external" href="mailto:mail@hunki-enterprises.com">mail@hunki-enterprises.com</a>></p>
|
|
406
406
|
</li>
|
|
407
407
|
<li><p class="first">Stefan Rijnhart <<a class="reference external" href="mailto:stefan.rijnhart@opener.amsterdam">stefan.rijnhart@opener.amsterdam</a>></p>
|
|
408
408
|
</li>
|
|
@@ -424,17 +424,18 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
424
424
|
</ul>
|
|
425
425
|
</div>
|
|
426
426
|
<div class="section" id="other-credits">
|
|
427
|
-
<h2><a class="toc-backref" href="#
|
|
428
|
-
<p>The migration of this module from 15.0 to 16.0 was financially supported
|
|
427
|
+
<h2><a class="toc-backref" href="#id5">Other credits</a></h2>
|
|
428
|
+
<p>The migration of this module from 15.0 to 16.0 was financially supported
|
|
429
|
+
by Camptocamp</p>
|
|
429
430
|
</div>
|
|
430
431
|
<div class="section" id="maintainers">
|
|
431
|
-
<h2><a class="toc-backref" href="#
|
|
432
|
+
<h2><a class="toc-backref" href="#id6">Maintainers</a></h2>
|
|
432
433
|
<p>This module is maintained by the OCA.</p>
|
|
433
434
|
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
|
434
435
|
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
435
436
|
mission is to support the collaborative development of Odoo features and
|
|
436
437
|
promote its widespread use.</p>
|
|
437
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/
|
|
438
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_camt">OCA/bank-statement-import</a> project on GitHub.</p>
|
|
438
439
|
<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>
|
|
439
440
|
</div>
|
|
440
441
|
</div>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
'Account Servicer Reference (Refs/AcctSvcrRef): 123456CHCAFEBABE\n'
|
|
21
21
|
'Postal Address (PstlAdr): Place Saint-François | 14 | 1003 | Lausanne | CH1',
|
|
22
22
|
'partner_name': 'Banque Cantonale Vaudoise',
|
|
23
|
-
'payment_ref': '
|
|
23
|
+
'payment_ref': '/',
|
|
24
24
|
'ref': '302388292000011111111111111',
|
|
25
25
|
'transaction_type': 'PMNT-RCDT-VCOM'},
|
|
26
26
|
{'account_number': 'CH3333000000123456789',
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
'Account Servicer Reference (Refs/AcctSvcrRef): 123456CHCAFEBABE\n'
|
|
40
40
|
'Postal Address (PstlAdr): Place Saint-François | 14 | 1003 | Lausanne | CH2',
|
|
41
41
|
'partner_name': 'Banque Cantonale Vaudoise',
|
|
42
|
-
'payment_ref': '
|
|
42
|
+
'payment_ref': '/',
|
|
43
43
|
'ref': '302388292000022222222222222',
|
|
44
44
|
'transaction_type': 'PMNT-RCDT-VCOM'}]}])
|
|
@@ -9,8 +9,8 @@ import tempfile
|
|
|
9
9
|
from datetime import date
|
|
10
10
|
from pathlib import Path
|
|
11
11
|
|
|
12
|
-
from odoo.modules.module import get_module_resource
|
|
13
12
|
from odoo.tests.common import TransactionCase
|
|
13
|
+
from odoo.tools.misc import file_path
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class TestParserCommon(TransactionCase):
|
|
@@ -45,15 +45,16 @@ class TestParserCommon(TransactionCase):
|
|
|
45
45
|
|
|
46
46
|
:param inputfile_path: path for file to import and test
|
|
47
47
|
:type inputfile_path: Path
|
|
48
|
-
:param goldenfile_path: path for file to use for comparison
|
|
48
|
+
:param goldenfile_path: path for file to use for comparison
|
|
49
|
+
(the expected values)
|
|
49
50
|
:type goldenfile_path: Path
|
|
50
51
|
"""
|
|
51
52
|
|
|
52
53
|
# Read the input file, store the actual imported values
|
|
53
|
-
with open(
|
|
54
|
+
with open(file_path(inputfile_path), "rb") as inputf:
|
|
54
55
|
res = self.parser.parse(inputf.read())
|
|
55
56
|
# Read the output file, store the expected imported values
|
|
56
|
-
with open(
|
|
57
|
+
with open(file_path(goldenfile_path)) as goldf:
|
|
57
58
|
gold_name, gold_lines = goldf.name, goldf.readlines()
|
|
58
59
|
# Save the imported values in a tmp file to compare them w/ the expected values
|
|
59
60
|
with tempfile.NamedTemporaryFile(mode="w+", suffix=".pydata") as tempf:
|
|
@@ -158,9 +159,7 @@ class TestImport(TransactionCase):
|
|
|
158
159
|
|
|
159
160
|
def test_statement_import(self):
|
|
160
161
|
"""Test correct creation of single statement."""
|
|
161
|
-
testfile =
|
|
162
|
-
"account_statement_import_camt", "test_files", "test-camt053"
|
|
163
|
-
)
|
|
162
|
+
testfile = file_path("account_statement_import_camt/test_files/test-camt053")
|
|
164
163
|
with open(testfile, "rb") as datafile:
|
|
165
164
|
camt_file = base64.b64encode(datafile.read())
|
|
166
165
|
|
|
@@ -190,8 +189,8 @@ class TestImport(TransactionCase):
|
|
|
190
189
|
|
|
191
190
|
def test_zip_import(self):
|
|
192
191
|
"""Test import of multiple statements from zip file."""
|
|
193
|
-
testfile =
|
|
194
|
-
"account_statement_import_camt
|
|
192
|
+
testfile = file_path(
|
|
193
|
+
"account_statement_import_camt/test_files/test-camt053.zip"
|
|
195
194
|
)
|
|
196
195
|
with open(testfile, "rb") as datafile:
|
|
197
196
|
camt_file = base64.b64encode(datafile.read())
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-account_statement_import_camt
|
|
3
|
-
Version:
|
|
3
|
+
Version: 17.0.1.0.0.1
|
|
4
|
+
Requires-Python: >=3.10
|
|
5
|
+
Requires-Dist: odoo-addon-account_statement_import_file>=17.0dev,<17.1dev
|
|
6
|
+
Requires-Dist: odoo>=17.0a,<17.1dev
|
|
4
7
|
Summary: CAMT Format Bank Statements Import
|
|
5
8
|
Home-page: https://github.com/OCA/bank-statement-import
|
|
9
|
+
License: AGPL-3
|
|
6
10
|
Author: Therp BV, Odoo Community Association (OCA)
|
|
7
11
|
Author-email: support@odoo-community.org
|
|
8
|
-
License: AGPL-3
|
|
9
12
|
Classifier: Programming Language :: Python
|
|
10
13
|
Classifier: Framework :: Odoo
|
|
11
|
-
Classifier: Framework :: Odoo ::
|
|
14
|
+
Classifier: Framework :: Odoo :: 17.0
|
|
12
15
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
13
|
-
Requires-Python: >=3.10
|
|
14
|
-
Requires-Dist: odoo-addon-account-statement-import-file <16.1dev,>=16.0dev
|
|
15
|
-
Requires-Dist: odoo <16.1dev,>=16.0a
|
|
16
16
|
|
|
17
17
|
==================================
|
|
18
18
|
CAMT Format Bank Statements Import
|
|
@@ -23,7 +23,7 @@ CAMT Format Bank Statements Import
|
|
|
23
23
|
!! This file is generated by oca-gen-addon-readme !!
|
|
24
24
|
!! changes will be overwritten. !!
|
|
25
25
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
26
|
-
!! source digest: sha256:
|
|
26
|
+
!! source digest: sha256:a1b71f36ee91c7d89b3cf754ba711cd5d8e50cfb7f9742a9153ca74ce043d458
|
|
27
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
28
|
|
|
29
29
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -33,13 +33,13 @@ CAMT Format Bank Statements Import
|
|
|
33
33
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
34
34
|
:alt: License: AGPL-3
|
|
35
35
|
.. |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/
|
|
36
|
+
:target: https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_camt
|
|
37
37
|
:alt: OCA/bank-statement-import
|
|
38
38
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
39
|
-
:target: https://translation.odoo-community.org/projects/bank-statement-import-
|
|
39
|
+
:target: https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_camt
|
|
40
40
|
:alt: Translate me on Weblate
|
|
41
41
|
.. |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=
|
|
42
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=17.0
|
|
43
43
|
:alt: Try me on Runboat
|
|
44
44
|
|
|
45
45
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -57,7 +57,7 @@ Bug Tracker
|
|
|
57
57
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
58
58
|
In case of trouble, please check there if your issue has already been reported.
|
|
59
59
|
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:%
|
|
60
|
+
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_camt%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
61
61
|
|
|
62
62
|
Do not contact contributors directly about support or help with technical issues.
|
|
63
63
|
|
|
@@ -65,30 +65,37 @@ Credits
|
|
|
65
65
|
=======
|
|
66
66
|
|
|
67
67
|
Authors
|
|
68
|
-
|
|
68
|
+
-------
|
|
69
69
|
|
|
70
70
|
* Therp BV
|
|
71
71
|
|
|
72
72
|
Contributors
|
|
73
|
-
|
|
73
|
+
------------
|
|
74
|
+
|
|
75
|
+
- Holger Brunn <mail@hunki-enterprises.com>
|
|
76
|
+
|
|
77
|
+
- Stefan Rijnhart <stefan.rijnhart@opener.amsterdam>
|
|
78
|
+
|
|
79
|
+
- Ronald Portier <rportier@therp.nl>
|
|
80
|
+
|
|
81
|
+
- Andrea Stirpe <a.stirpe@onestein.nl>
|
|
82
|
+
|
|
83
|
+
- Maxence Groine <mgroine@fiefmanage.ch>
|
|
84
|
+
|
|
85
|
+
- Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
|
|
74
86
|
|
|
75
|
-
|
|
76
|
-
* Stefan Rijnhart <stefan.rijnhart@opener.amsterdam>
|
|
77
|
-
* Ronald Portier <rportier@therp.nl>
|
|
78
|
-
* Andrea Stirpe <a.stirpe@onestein.nl>
|
|
79
|
-
* Maxence Groine <mgroine@fiefmanage.ch>
|
|
80
|
-
* Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
|
|
81
|
-
* `Trobz <https://trobz.com>`_:
|
|
87
|
+
- `Trobz <https://trobz.com>`__:
|
|
82
88
|
|
|
83
|
-
|
|
89
|
+
- Son Ho <sonhd@trobz.com>
|
|
84
90
|
|
|
85
91
|
Other credits
|
|
86
|
-
|
|
92
|
+
-------------
|
|
87
93
|
|
|
88
|
-
The migration of this module from 15.0 to 16.0 was financially supported
|
|
94
|
+
The migration of this module from 15.0 to 16.0 was financially supported
|
|
95
|
+
by Camptocamp
|
|
89
96
|
|
|
90
97
|
Maintainers
|
|
91
|
-
|
|
98
|
+
-----------
|
|
92
99
|
|
|
93
100
|
This module is maintained by the OCA.
|
|
94
101
|
|
|
@@ -100,6 +107,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
100
107
|
mission is to support the collaborative development of Odoo features and
|
|
101
108
|
promote its widespread use.
|
|
102
109
|
|
|
103
|
-
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/
|
|
110
|
+
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_camt>`_ project on GitHub.
|
|
104
111
|
|
|
105
112
|
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=
|
|
1
|
+
odoo/addons/account_statement_import_camt/README.rst,sha256=t_XHDYGWAhIrNSmY5F6MEbAxC-56EQrx350KfR3OKJo,3449
|
|
2
2
|
odoo/addons/account_statement_import_camt/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
-
odoo/addons/account_statement_import_camt/__manifest__.py,sha256=
|
|
4
|
-
odoo/addons/account_statement_import_camt/i18n/account_statement_import_camt.pot,sha256=
|
|
3
|
+
odoo/addons/account_statement_import_camt/__manifest__.py,sha256=RfbWKqNiO4YZSDHQZyCVU3AuM8V7n8hiuGVctiXmaYs,492
|
|
4
|
+
odoo/addons/account_statement_import_camt/i18n/account_statement_import_camt.pot,sha256=MsWip6K3N-WDijpNL-1QiblF61wHEUFveezSVqssDFA,6107
|
|
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
|
|
@@ -10,27 +10,25 @@ odoo/addons/account_statement_import_camt/i18n/fr.po,sha256=oB1YBaUpxuUaezpBR3Bd
|
|
|
10
10
|
odoo/addons/account_statement_import_camt/i18n/fr_CH.po,sha256=kTqKeQVfiA06j3TX41BadhEefi_Y0fzhvfmDlV-mmao,6169
|
|
11
11
|
odoo/addons/account_statement_import_camt/i18n/gl.po,sha256=4m2fd7mH2wO2EcCQ6k6XHLRIwrGKtNnpjHxl5Sy7Adk,6187
|
|
12
12
|
odoo/addons/account_statement_import_camt/i18n/hr.po,sha256=bGNh8tmUGFlQp0XcR7EgPzU_S9enA03kUi51iimWKFw,6444
|
|
13
|
-
odoo/addons/account_statement_import_camt/i18n/it.po,sha256=
|
|
13
|
+
odoo/addons/account_statement_import_camt/i18n/it.po,sha256=h2Gyyh8StY1qME3Ss0nwrLo5xjWu16ojByAVKMs-C7k,6198
|
|
14
14
|
odoo/addons/account_statement_import_camt/i18n/lt_LT.po,sha256=KRRiG8tU_PAwnAv0MNHcbtondlAg8q4Hkz_dtNj1kWM,6208
|
|
15
15
|
odoo/addons/account_statement_import_camt/i18n/nb_NO.po,sha256=oL8wQNS6MgSMl7cIeJvXFPfCsTMjaP-atONIPhzsOdI,6195
|
|
16
16
|
odoo/addons/account_statement_import_camt/i18n/nl.po,sha256=Pr6akbeUe8FOA-WmDBUvnYCjKKNppaSGOo13sqZ-0tM,6491
|
|
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/
|
|
22
|
-
odoo/addons/account_statement_import_camt/models/
|
|
23
|
-
odoo/addons/account_statement_import_camt/models/
|
|
24
|
-
odoo/addons/account_statement_import_camt/
|
|
25
|
-
odoo/addons/account_statement_import_camt/
|
|
26
|
-
odoo/addons/account_statement_import_camt/readme/
|
|
27
|
-
odoo/addons/account_statement_import_camt/readme/CREDITS.rst,sha256=XtPazYj6oqxvg62KjKqErJ8pssTcghFavMtYTDMOozc,87
|
|
28
|
-
odoo/addons/account_statement_import_camt/readme/DESCRIPTION.rst,sha256=JF6P6jSlcI00WiuY_uWzp-VuAzlZsMh3rco3Hw2go7E,73
|
|
20
|
+
odoo/addons/account_statement_import_camt/models/__init__.py,sha256=GcZFZShUPuQXOQyG3sNbuRMzmr8nfyXUCl4iCZL5778,120
|
|
21
|
+
odoo/addons/account_statement_import_camt/models/account_journal.py,sha256=iPQuB4uZ9Xtz8dM6OgZLECelXvVtZiAhZFfOmgunhZw,438
|
|
22
|
+
odoo/addons/account_statement_import_camt/models/account_statement_import.py,sha256=_TwNZ0fKtszPxJ6CJSJG8zg5HyxMBUgZ7efK_CpKXBY,1447
|
|
23
|
+
odoo/addons/account_statement_import_camt/models/account_statement_import_camt_parser.py,sha256=ldvyfAGS5QJx925TdUyZeFMBQo7t4Bl5wiiZLujcE2Q,16440
|
|
24
|
+
odoo/addons/account_statement_import_camt/readme/CONTRIBUTORS.md,sha256=PdrCzYatbDrFUNl6BzC_7WoAvkpDgxx0ywdVPfGfAq0,359
|
|
25
|
+
odoo/addons/account_statement_import_camt/readme/CREDITS.md,sha256=YP3UAmtN99a01txssowJnlWMSHoFGSrDmvhW_kir-dQ,87
|
|
26
|
+
odoo/addons/account_statement_import_camt/readme/DESCRIPTION.md,sha256=JF6P6jSlcI00WiuY_uWzp-VuAzlZsMh3rco3Hw2go7E,73
|
|
29
27
|
odoo/addons/account_statement_import_camt/readme/newsfragment/1_verbose_narration.feature,sha256=cKKbLxMpPc-CNfVB56VXvGdbh9-tR3RXTrKHNRLOBDA,902
|
|
30
28
|
odoo/addons/account_statement_import_camt/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
31
|
-
odoo/addons/account_statement_import_camt/static/description/index.html,sha256=
|
|
29
|
+
odoo/addons/account_statement_import_camt/static/description/index.html,sha256=MggAFifUYh51PRS0jHuPtKnr9z-NnHVLPm-HdpuxfeY,13533
|
|
32
30
|
odoo/addons/account_statement_import_camt/test_files/golden-camt053-no-ntry.pydata,sha256=qy8rWuvdmrJDfrLsYTOoBWI5_p7kCJUcH0GB5TLaPQ0,17
|
|
33
|
-
odoo/addons/account_statement_import_camt/test_files/golden-camt053-txdtls.pydata,sha256=
|
|
31
|
+
odoo/addons/account_statement_import_camt/test_files/golden-camt053-txdtls.pydata,sha256=s8KL0fkDiKVvnwQAZiupmJNvpdZ4T-GfWrLktMKIRWk,3123
|
|
34
32
|
odoo/addons/account_statement_import_camt/test_files/golden-camt053.pydata,sha256=Tc4sDXnTINTnW5yg07UsO53fomzto7vUU_cm0EyviQQ,6255
|
|
35
33
|
odoo/addons/account_statement_import_camt/test_files/golden-camt054.pydata,sha256=0PVc5GbnIDa530r-j6Ve0CuTiHY65GS7O6vUaQi4T1o,1681
|
|
36
34
|
odoo/addons/account_statement_import_camt/test_files/test-camt053,sha256=i0lZ1YfucBvgMV7_CCx3hIoxPqRFlv77zDWYWNYUNjA,11415
|
|
@@ -39,9 +37,9 @@ odoo/addons/account_statement_import_camt/test_files/test-camt053-txdtls,sha256=
|
|
|
39
37
|
odoo/addons/account_statement_import_camt/test_files/test-camt053.zip,sha256=7PBdW6gUth4FucG26-555dx46e9aAEzoJLRluCFaq8I,3111
|
|
40
38
|
odoo/addons/account_statement_import_camt/test_files/test-camt054,sha256=KmxxDrLbhICAML57Uf8OtIi_7Oml6cjnqxggQgKR0qg,3833
|
|
41
39
|
odoo/addons/account_statement_import_camt/tests/__init__.py,sha256=fbXubjUerAxsn870MhzwyT_uLaCIt7jWiD91l9FwsRo,41
|
|
42
|
-
odoo/addons/account_statement_import_camt/tests/test_import_bank_statement.py,sha256=
|
|
40
|
+
odoo/addons/account_statement_import_camt/tests/test_import_bank_statement.py,sha256=CC_aQ8iFGIm0wdb1cSyJhPq6IfiTGcZq7XFQNkxkU48,7887
|
|
43
41
|
odoo/addons/account_statement_import_camt/views/account_bank_statement_import.xml,sha256=sig4XIO6sOcK4OluJJuSZs8ikWsIrJuOTZEWmDxmEL8,529
|
|
44
|
-
odoo_addon_account_statement_import_camt-
|
|
45
|
-
odoo_addon_account_statement_import_camt-
|
|
46
|
-
odoo_addon_account_statement_import_camt-
|
|
47
|
-
odoo_addon_account_statement_import_camt-
|
|
42
|
+
odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info/METADATA,sha256=hac9_a093fxFiGRim6M5xX5DUivQL0u9JJWDqoViIgQ,4070
|
|
43
|
+
odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info/WHEEL,sha256=9fEMia4zL7ZuZbnCOrcYogUhmn4XFIVaJ8G4YGI31xc,81
|
|
44
|
+
odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
45
|
+
odoo_addon_account_statement_import_camt-17.0.1.0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
odoo
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# Copyright 2019 Camptocamp SA
|
|
2
|
-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
3
|
-
from odoo import models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AccountBankStatementLine(models.Model):
|
|
7
|
-
|
|
8
|
-
_inherit = "account.bank.statement.line"
|
|
9
|
-
|
|
10
|
-
def write(self, vals):
|
|
11
|
-
"""
|
|
12
|
-
Purpose of this hook is catch updates for records with name == '/'
|
|
13
|
-
|
|
14
|
-
In reconciliation_widget_preprocess, there is attempt to assign
|
|
15
|
-
partner into statement line, this assignment relies on name,
|
|
16
|
-
during import name setup to '/' for records without it
|
|
17
|
-
and this makes search results wrong and partner assignment randomly
|
|
18
|
-
"""
|
|
19
|
-
if (
|
|
20
|
-
self.env.context.get("no_reassign_empty_name")
|
|
21
|
-
and len(self) == 1
|
|
22
|
-
and len(vals.keys()) == 1
|
|
23
|
-
and "partner_id" in vals
|
|
24
|
-
and self.name == "/"
|
|
25
|
-
):
|
|
26
|
-
return True
|
|
27
|
-
return super().write(vals)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Copyright 2019 Camptocamp SA
|
|
2
|
-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
3
|
-
from odoo import models
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AccountBankStatement(models.Model):
|
|
7
|
-
|
|
8
|
-
_inherit = "account.bank.statement"
|
|
9
|
-
|
|
10
|
-
def reconciliation_widget_preprocess(self):
|
|
11
|
-
return super(
|
|
12
|
-
AccountBankStatement, self.with_context(no_reassign_empty_name=True)
|
|
13
|
-
).reconciliation_widget_preprocess()
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
* Holger Brunn <hbrunn@therp.nl>
|
|
2
|
-
* Stefan Rijnhart <stefan.rijnhart@opener.amsterdam>
|
|
3
|
-
* Ronald Portier <rportier@therp.nl>
|
|
4
|
-
* Andrea Stirpe <a.stirpe@onestein.nl>
|
|
5
|
-
* Maxence Groine <mgroine@fiefmanage.ch>
|
|
6
|
-
* Iryna Vyshnevska <i.vyshnevska@mobilunity.com>
|
|
7
|
-
* `Trobz <https://trobz.com>`_:
|
|
8
|
-
|
|
9
|
-
* Son Ho <sonhd@trobz.com>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
odoo
|
|
File without changes
|