odoo-addon-account-statement-import-sheet-file 16.0.1.1.2__py3-none-any.whl → 17.0.1.0.0.2__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.
Potentially problematic release.
This version of odoo-addon-account-statement-import-sheet-file might be problematic. Click here for more details.
- odoo/addons/account_statement_import_sheet_file/README.rst +35 -32
- odoo/addons/account_statement_import_sheet_file/__manifest__.py +1 -1
- odoo/addons/account_statement_import_sheet_file/i18n/account_statement_import_sheet_file.pot +1 -7
- odoo/addons/account_statement_import_sheet_file/i18n/es.po +3 -19
- odoo/addons/account_statement_import_sheet_file/i18n/es_AR.po +11 -42
- odoo/addons/account_statement_import_sheet_file/i18n/it.po +3 -3
- odoo/addons/account_statement_import_sheet_file/i18n/nl.po +5 -36
- odoo/addons/account_statement_import_sheet_file/i18n/pt.po +5 -36
- odoo/addons/account_statement_import_sheet_file/i18n/zh_CN.po +6 -36
- odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py +5 -3
- odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py +26 -6
- odoo/addons/account_statement_import_sheet_file/readme/CONFIGURE.md +6 -0
- odoo/addons/account_statement_import_sheet_file/readme/CONTRIBUTORS.md +12 -0
- odoo/addons/account_statement_import_sheet_file/readme/{DESCRIPTION.rst → DESCRIPTION.md} +2 -2
- odoo/addons/account_statement_import_sheet_file/readme/HISTORY.md +7 -0
- odoo/addons/account_statement_import_sheet_file/readme/USAGE.md +5 -0
- odoo/addons/account_statement_import_sheet_file/static/description/index.html +12 -9
- odoo/addons/account_statement_import_sheet_file/views/account_journal_views.xml +1 -4
- odoo/addons/account_statement_import_sheet_file/views/account_statement_import_sheet_mapping.xml +12 -28
- {odoo_addon_account_statement_import_sheet_file-16.0.1.1.2.dist-info → odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info}/METADATA +44 -44
- {odoo_addon_account_statement_import_sheet_file-16.0.1.1.2.dist-info → odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info}/RECORD +23 -24
- {odoo_addon_account_statement_import_sheet_file-16.0.1.1.2.dist-info → odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info}/WHEEL +1 -1
- odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info/top_level.txt +1 -0
- odoo/addons/account_statement_import_sheet_file/migrations/16.0.1.0.0/pre-migration.py +0 -45
- odoo/addons/account_statement_import_sheet_file/readme/CONFIGURE.rst +0 -4
- odoo/addons/account_statement_import_sheet_file/readme/CONTRIBUTORS.rst +0 -17
- odoo/addons/account_statement_import_sheet_file/readme/HISTORY.rst +0 -7
- odoo/addons/account_statement_import_sheet_file/readme/USAGE.rst +0 -4
- odoo_addon_account_statement_import_sheet_file-16.0.1.1.2.dist-info/top_level.txt +0 -1
|
@@ -7,7 +7,7 @@ Bank Statement TXT/CSV/XLSX 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:90ec58274c675f5d4eb830271ef275cb5cd09e5c62babf88fd1ee82e5f228368
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -17,19 +17,19 @@ Bank Statement TXT/CSV/XLSX 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_sheet_file
|
|
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_sheet_file
|
|
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|
|
|
30
30
|
|
|
31
|
-
This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
32
|
-
statements.
|
|
31
|
+
This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
32
|
+
bank statements.
|
|
33
33
|
|
|
34
34
|
**Table of contents**
|
|
35
35
|
|
|
@@ -41,27 +41,30 @@ Configuration
|
|
|
41
41
|
|
|
42
42
|
To create TXT/CSV/XLSX statement sheet columns mapping:
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
1. Open *Invoicing > Configuration > Accounting > Statement Sheet
|
|
45
|
+
Mappings*
|
|
46
|
+
2. Create mapping(s) according to your online banking software statement
|
|
47
|
+
format
|
|
46
48
|
|
|
47
49
|
Usage
|
|
48
50
|
=====
|
|
49
51
|
|
|
50
52
|
To use this module, you need to:
|
|
51
53
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
1. Get statement in TXT/CSV or XLSX from your online banking software
|
|
55
|
+
2. Go to Odoo and and import the statement file, selecting corresponding
|
|
56
|
+
format
|
|
54
57
|
|
|
55
58
|
Changelog
|
|
56
59
|
=========
|
|
57
60
|
|
|
58
61
|
12.0.2.0.0
|
|
59
|
-
|
|
62
|
+
----------
|
|
60
63
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
- [BREAKING] New mapping, please review mappings after upgrade.
|
|
65
|
+
- [BREAKING] Different bank accounts have to be used per each currency.
|
|
66
|
+
- [ADD] Support for both Statement and Activity reports.
|
|
67
|
+
- [ADD] Separate fee and currency exchange parsing.
|
|
65
68
|
|
|
66
69
|
Bug Tracker
|
|
67
70
|
===========
|
|
@@ -69,7 +72,7 @@ Bug Tracker
|
|
|
69
72
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
70
73
|
In case of trouble, please check there if your issue has already been reported.
|
|
71
74
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
72
|
-
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%
|
|
75
|
+
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
73
76
|
|
|
74
77
|
Do not contact contributors directly about support or help with technical issues.
|
|
75
78
|
|
|
@@ -77,34 +80,34 @@ Credits
|
|
|
77
80
|
=======
|
|
78
81
|
|
|
79
82
|
Authors
|
|
80
|
-
|
|
83
|
+
-------
|
|
81
84
|
|
|
82
85
|
* ForgeFlow
|
|
83
86
|
* CorporateHub
|
|
84
87
|
|
|
85
88
|
Contributors
|
|
86
|
-
|
|
89
|
+
------------
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
- Alexis de Lattre <alexis.delattre@akretion.com>
|
|
92
|
+
- Sebastien BEAU <sebastien.beau@akretion.com>
|
|
93
|
+
- Katherine Zaoral
|
|
94
|
+
- Tecnativa (https://www.tecnativa.com)
|
|
92
95
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
- Vicent Cubells
|
|
97
|
+
- Victor M.M. Torres
|
|
98
|
+
- Víctor Martínez
|
|
96
99
|
|
|
97
|
-
|
|
100
|
+
- ForgeFlow (https://www.forgeflow.com)
|
|
98
101
|
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
|
|
103
|
+
- Miquel Raïch Regué <miquel.raich@forgeflow.com>
|
|
101
104
|
|
|
102
|
-
|
|
105
|
+
- `CorporateHub <https://corporatehub.eu/>`__
|
|
103
106
|
|
|
104
|
-
|
|
107
|
+
- Alexey Pelykh <alexey.pelykh@corphub.eu>
|
|
105
108
|
|
|
106
109
|
Maintainers
|
|
107
|
-
|
|
110
|
+
-----------
|
|
108
111
|
|
|
109
112
|
This module is maintained by the OCA.
|
|
110
113
|
|
|
@@ -124,6 +127,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
124
127
|
|
|
125
128
|
|maintainer-alexey-pelykh|
|
|
126
129
|
|
|
127
|
-
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/
|
|
130
|
+
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_sheet_file>`_ project on GitHub.
|
|
128
131
|
|
|
129
132
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{
|
|
6
6
|
"name": "Bank Statement TXT/CSV/XLSX Import",
|
|
7
7
|
"summary": "Import TXT/CSV or XLSX files as Bank Statements in Odoo",
|
|
8
|
-
"version": "
|
|
8
|
+
"version": "17.0.1.0.0",
|
|
9
9
|
"category": "Accounting",
|
|
10
10
|
"website": "https://github.com/OCA/bank-statement-import",
|
|
11
11
|
"author": "ForgeFlow, CorporateHub, Odoo Community Association (OCA)",
|
odoo/addons/account_statement_import_sheet_file/i18n/account_statement_import_sheet_file.pot
CHANGED
|
@@ -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"
|
|
@@ -290,12 +290,6 @@ msgstr ""
|
|
|
290
290
|
msgid "Journal"
|
|
291
291
|
msgstr ""
|
|
292
292
|
|
|
293
|
-
#. module: account_statement_import_sheet_file
|
|
294
|
-
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping____last_update
|
|
295
|
-
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_parser____last_update
|
|
296
|
-
msgid "Last Modified on"
|
|
297
|
-
msgstr ""
|
|
298
|
-
|
|
299
293
|
#. module: account_statement_import_sheet_file
|
|
300
294
|
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__write_uid
|
|
301
295
|
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_parser__write_uid
|
|
@@ -415,10 +415,10 @@ msgstr "Valor simple"
|
|
|
415
415
|
#. module: account_statement_import_sheet_file
|
|
416
416
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
|
|
417
417
|
msgid ""
|
|
418
|
-
"Simple value: use igned amount in
|
|
419
|
-
"Absolute Value: use a same
|
|
418
|
+
"Simple value: use igned amount in ammount comlumn\n"
|
|
419
|
+
"Absolute Value: use a same comlumn for debit and credit\n"
|
|
420
420
|
"(absolute value + indicate sign)\n"
|
|
421
|
-
"Distinct Credit/debit Column: use a distinct
|
|
421
|
+
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
422
422
|
msgstr ""
|
|
423
423
|
"Valor simple: utilizar un importe ignorado en la columna importe\n"
|
|
424
424
|
"Valor absoluto: utilizar una misma columna para el debe y el haber\n"
|
|
@@ -622,19 +622,3 @@ msgstr "espacio"
|
|
|
622
622
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__delimiter__tab
|
|
623
623
|
msgid "tab"
|
|
624
624
|
msgstr "tabulador"
|
|
625
|
-
|
|
626
|
-
#~ msgid ""
|
|
627
|
-
#~ "Simple value: use igned amount in ammount comlumn\n"
|
|
628
|
-
#~ "Absolute Value: use a same comlumn for debit and credit\n"
|
|
629
|
-
#~ "(absolute value + indicate sign)\n"
|
|
630
|
-
#~ "Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
631
|
-
#~ msgstr ""
|
|
632
|
-
#~ "Valor simple: utilizar un importe ignorado en la columna importe\n"
|
|
633
|
-
#~ "Valor absoluto: utilizar una misma columna para el Debe y el Haber\n"
|
|
634
|
-
#~ "(valor absoluto + signo indicativo)\n"
|
|
635
|
-
#~ "Columna distinta para débito y crédito: utilice una columna distinta para "
|
|
636
|
-
#~ "débito y crédito"
|
|
637
|
-
|
|
638
|
-
#~ msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
639
|
-
#~ msgstr ""
|
|
640
|
-
#~ "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
@@ -240,6 +240,7 @@ msgstr "Mostrar Nombre"
|
|
|
240
240
|
#. module: account_statement_import_sheet_file
|
|
241
241
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__amount_type__distinct_credit_debit
|
|
242
242
|
#, fuzzy
|
|
243
|
+
#| msgid "Debit/Credit column"
|
|
243
244
|
msgid "Distinct Credit/debit Column"
|
|
244
245
|
msgstr "Columna de Débito/Crédito"
|
|
245
246
|
|
|
@@ -305,19 +306,6 @@ msgstr ""
|
|
|
305
306
|
"transacciones con conversión automática de moneda, columna para obtener el "
|
|
306
307
|
"monto de la transacción original en la moneda de la transacción original"
|
|
307
308
|
|
|
308
|
-
#. module: account_statement_import_sheet_file
|
|
309
|
-
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
310
|
-
msgid ""
|
|
311
|
-
"In some cases such as in credit card statements the amounts are expressed in "
|
|
312
|
-
"the inverse sign. By setting this flag during the upload the amounts will be "
|
|
313
|
-
"inverted in sign."
|
|
314
|
-
msgstr ""
|
|
315
|
-
|
|
316
|
-
#. module: account_statement_import_sheet_file
|
|
317
|
-
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
318
|
-
msgid "Inverse sign of amount"
|
|
319
|
-
msgstr ""
|
|
320
|
-
|
|
321
309
|
#. module: account_statement_import_sheet_file
|
|
322
310
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
|
|
323
311
|
msgid "Japanese (Shift JIS)"
|
|
@@ -431,10 +419,10 @@ msgstr ""
|
|
|
431
419
|
#. module: account_statement_import_sheet_file
|
|
432
420
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
|
|
433
421
|
msgid ""
|
|
434
|
-
"Simple value: use igned amount in
|
|
435
|
-
"Absolute Value: use a same
|
|
422
|
+
"Simple value: use igned amount in ammount comlumn\n"
|
|
423
|
+
"Absolute Value: use a same comlumn for debit and credit\n"
|
|
436
424
|
"(absolute value + indicate sign)\n"
|
|
437
|
-
"Distinct Credit/debit Column: use a distinct
|
|
425
|
+
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
438
426
|
msgstr ""
|
|
439
427
|
|
|
440
428
|
#. module: account_statement_import_sheet_file
|
|
@@ -517,31 +505,17 @@ msgid "Unique transaction ID column"
|
|
|
517
505
|
msgstr "Columna de ID único de transacción"
|
|
518
506
|
|
|
519
507
|
#. module: account_statement_import_sheet_file
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
msgstr ""
|
|
525
|
-
|
|
526
|
-
#. module: account_statement_import_sheet_file
|
|
527
|
-
#. odoo-python
|
|
528
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
529
|
-
#, python-format
|
|
530
|
-
msgid ""
|
|
531
|
-
"Use amount_debit_column and amount_credit_column if you have set Amount type "
|
|
532
|
-
"= 'Distinct Credit/debit Column'"
|
|
533
|
-
msgstr ""
|
|
534
|
-
|
|
535
|
-
#. module: account_statement_import_sheet_file
|
|
536
|
-
#. odoo-python
|
|
537
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
538
|
-
#, python-format
|
|
539
|
-
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
|
|
540
|
-
msgstr ""
|
|
508
|
+
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
|
|
509
|
+
#, fuzzy
|
|
510
|
+
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
511
|
+
msgstr "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
541
512
|
|
|
542
513
|
#. module: account_statement_import_sheet_file
|
|
543
514
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__debit_credit_column
|
|
544
515
|
#, fuzzy
|
|
516
|
+
#| msgid ""
|
|
517
|
+
#| "Some statement formats use absolute amount value and indicate signof the "
|
|
518
|
+
#| "transaction by specifying if it was a debit or a credit one"
|
|
545
519
|
msgid ""
|
|
546
520
|
"Used if amount type is \"Absolute value\"\n"
|
|
547
521
|
"Some statement formats use absolute amount value and indicate sign\n"
|
|
@@ -629,8 +603,3 @@ msgstr "espacio"
|
|
|
629
603
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__delimiter__tab
|
|
630
604
|
msgid "tab"
|
|
631
605
|
msgstr "tabulación"
|
|
632
|
-
|
|
633
|
-
#, fuzzy
|
|
634
|
-
#~ msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
635
|
-
#~ msgstr ""
|
|
636
|
-
#~ "Usar amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
@@ -415,10 +415,10 @@ msgstr "Valore semplice"
|
|
|
415
415
|
#. module: account_statement_import_sheet_file
|
|
416
416
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
|
|
417
417
|
msgid ""
|
|
418
|
-
"Simple value: use igned amount in
|
|
419
|
-
"Absolute Value: use a same
|
|
418
|
+
"Simple value: use igned amount in ammount comlumn\n"
|
|
419
|
+
"Absolute Value: use a same comlumn for debit and credit\n"
|
|
420
420
|
"(absolute value + indicate sign)\n"
|
|
421
|
-
"Distinct Credit/debit Column: use a distinct
|
|
421
|
+
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
422
422
|
msgstr ""
|
|
423
423
|
"Valore semplice: usa il valore con segno nella colonna importo\n"
|
|
424
424
|
"Valore assoluto: usa la stessa colonna per debito e credito\n"
|
|
@@ -276,19 +276,6 @@ msgid ""
|
|
|
276
276
|
"transaction currency from"
|
|
277
277
|
msgstr ""
|
|
278
278
|
|
|
279
|
-
#. module: account_statement_import_sheet_file
|
|
280
|
-
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
281
|
-
msgid ""
|
|
282
|
-
"In some cases such as in credit card statements the amounts are expressed in "
|
|
283
|
-
"the inverse sign. By setting this flag during the upload the amounts will be "
|
|
284
|
-
"inverted in sign."
|
|
285
|
-
msgstr ""
|
|
286
|
-
|
|
287
|
-
#. module: account_statement_import_sheet_file
|
|
288
|
-
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
289
|
-
msgid "Inverse sign of amount"
|
|
290
|
-
msgstr ""
|
|
291
|
-
|
|
292
279
|
#. module: account_statement_import_sheet_file
|
|
293
280
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
|
|
294
281
|
msgid "Japanese (Shift JIS)"
|
|
@@ -398,10 +385,10 @@ msgstr ""
|
|
|
398
385
|
#. module: account_statement_import_sheet_file
|
|
399
386
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
|
|
400
387
|
msgid ""
|
|
401
|
-
"Simple value: use igned amount in
|
|
402
|
-
"Absolute Value: use a same
|
|
388
|
+
"Simple value: use igned amount in ammount comlumn\n"
|
|
389
|
+
"Absolute Value: use a same comlumn for debit and credit\n"
|
|
403
390
|
"(absolute value + indicate sign)\n"
|
|
404
|
-
"Distinct Credit/debit Column: use a distinct
|
|
391
|
+
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
405
392
|
msgstr ""
|
|
406
393
|
|
|
407
394
|
#. module: account_statement_import_sheet_file
|
|
@@ -483,26 +470,8 @@ msgid "Unique transaction ID column"
|
|
|
483
470
|
msgstr "Unieke transactie ID kolom"
|
|
484
471
|
|
|
485
472
|
#. module: account_statement_import_sheet_file
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
#, python-format
|
|
489
|
-
msgid "Use amount_column if you have set Amount type = 'Single value'"
|
|
490
|
-
msgstr ""
|
|
491
|
-
|
|
492
|
-
#. module: account_statement_import_sheet_file
|
|
493
|
-
#. odoo-python
|
|
494
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
495
|
-
#, python-format
|
|
496
|
-
msgid ""
|
|
497
|
-
"Use amount_debit_column and amount_credit_column if you have set Amount type "
|
|
498
|
-
"= 'Distinct Credit/debit Column'"
|
|
499
|
-
msgstr ""
|
|
500
|
-
|
|
501
|
-
#. module: account_statement_import_sheet_file
|
|
502
|
-
#. odoo-python
|
|
503
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
504
|
-
#, python-format
|
|
505
|
-
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
|
|
473
|
+
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
|
|
474
|
+
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
506
475
|
msgstr ""
|
|
507
476
|
|
|
508
477
|
#. module: account_statement_import_sheet_file
|
|
@@ -277,19 +277,6 @@ msgid ""
|
|
|
277
277
|
"transaction currency from"
|
|
278
278
|
msgstr ""
|
|
279
279
|
|
|
280
|
-
#. module: account_statement_import_sheet_file
|
|
281
|
-
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
282
|
-
msgid ""
|
|
283
|
-
"In some cases such as in credit card statements the amounts are expressed in "
|
|
284
|
-
"the inverse sign. By setting this flag during the upload the amounts will be "
|
|
285
|
-
"inverted in sign."
|
|
286
|
-
msgstr ""
|
|
287
|
-
|
|
288
|
-
#. module: account_statement_import_sheet_file
|
|
289
|
-
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
290
|
-
msgid "Inverse sign of amount"
|
|
291
|
-
msgstr ""
|
|
292
|
-
|
|
293
280
|
#. module: account_statement_import_sheet_file
|
|
294
281
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
|
|
295
282
|
msgid "Japanese (Shift JIS)"
|
|
@@ -401,10 +388,10 @@ msgstr ""
|
|
|
401
388
|
#. module: account_statement_import_sheet_file
|
|
402
389
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
|
|
403
390
|
msgid ""
|
|
404
|
-
"Simple value: use igned amount in
|
|
405
|
-
"Absolute Value: use a same
|
|
391
|
+
"Simple value: use igned amount in ammount comlumn\n"
|
|
392
|
+
"Absolute Value: use a same comlumn for debit and credit\n"
|
|
406
393
|
"(absolute value + indicate sign)\n"
|
|
407
|
-
"Distinct Credit/debit Column: use a distinct
|
|
394
|
+
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
408
395
|
msgstr ""
|
|
409
396
|
|
|
410
397
|
#. module: account_statement_import_sheet_file
|
|
@@ -486,26 +473,8 @@ msgid "Unique transaction ID column"
|
|
|
486
473
|
msgstr ""
|
|
487
474
|
|
|
488
475
|
#. module: account_statement_import_sheet_file
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
#, python-format
|
|
492
|
-
msgid "Use amount_column if you have set Amount type = 'Single value'"
|
|
493
|
-
msgstr ""
|
|
494
|
-
|
|
495
|
-
#. module: account_statement_import_sheet_file
|
|
496
|
-
#. odoo-python
|
|
497
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
498
|
-
#, python-format
|
|
499
|
-
msgid ""
|
|
500
|
-
"Use amount_debit_column and amount_credit_column if you have set Amount type "
|
|
501
|
-
"= 'Distinct Credit/debit Column'"
|
|
502
|
-
msgstr ""
|
|
503
|
-
|
|
504
|
-
#. module: account_statement_import_sheet_file
|
|
505
|
-
#. odoo-python
|
|
506
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
507
|
-
#, python-format
|
|
508
|
-
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
|
|
476
|
+
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
|
|
477
|
+
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
509
478
|
msgstr ""
|
|
510
479
|
|
|
511
480
|
#. module: account_statement_import_sheet_file
|
|
@@ -220,6 +220,7 @@ msgstr "显示名称"
|
|
|
220
220
|
#. module: account_statement_import_sheet_file
|
|
221
221
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__amount_type__distinct_credit_debit
|
|
222
222
|
#, fuzzy
|
|
223
|
+
#| msgid "Debit/Credit column"
|
|
223
224
|
msgid "Distinct Credit/debit Column"
|
|
224
225
|
msgstr "借贷标志列名"
|
|
225
226
|
|
|
@@ -277,19 +278,6 @@ msgid ""
|
|
|
277
278
|
"transaction currency from"
|
|
278
279
|
msgstr ""
|
|
279
280
|
|
|
280
|
-
#. module: account_statement_import_sheet_file
|
|
281
|
-
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
282
|
-
msgid ""
|
|
283
|
-
"In some cases such as in credit card statements the amounts are expressed in "
|
|
284
|
-
"the inverse sign. By setting this flag during the upload the amounts will be "
|
|
285
|
-
"inverted in sign."
|
|
286
|
-
msgstr ""
|
|
287
|
-
|
|
288
|
-
#. module: account_statement_import_sheet_file
|
|
289
|
-
#: model:ir.model.fields,field_description:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_inverse_sign
|
|
290
|
-
msgid "Inverse sign of amount"
|
|
291
|
-
msgstr ""
|
|
292
|
-
|
|
293
281
|
#. module: account_statement_import_sheet_file
|
|
294
282
|
#: model:ir.model.fields.selection,name:account_statement_import_sheet_file.selection__account_statement_import_sheet_mapping__file_encoding__shift_jis
|
|
295
283
|
msgid "Japanese (Shift JIS)"
|
|
@@ -398,10 +386,10 @@ msgstr ""
|
|
|
398
386
|
#. module: account_statement_import_sheet_file
|
|
399
387
|
#: model:ir.model.fields,help:account_statement_import_sheet_file.field_account_statement_import_sheet_mapping__amount_type
|
|
400
388
|
msgid ""
|
|
401
|
-
"Simple value: use igned amount in
|
|
402
|
-
"Absolute Value: use a same
|
|
389
|
+
"Simple value: use igned amount in ammount comlumn\n"
|
|
390
|
+
"Absolute Value: use a same comlumn for debit and credit\n"
|
|
403
391
|
"(absolute value + indicate sign)\n"
|
|
404
|
-
"Distinct Credit/debit Column: use a distinct
|
|
392
|
+
"Distinct Credit/debit Column: use a distinct comlumn for debit and credit"
|
|
405
393
|
msgstr ""
|
|
406
394
|
|
|
407
395
|
#. module: account_statement_import_sheet_file
|
|
@@ -483,26 +471,8 @@ msgid "Unique transaction ID column"
|
|
|
483
471
|
msgstr "唯一交易ID列名"
|
|
484
472
|
|
|
485
473
|
#. module: account_statement_import_sheet_file
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
#, python-format
|
|
489
|
-
msgid "Use amount_column if you have set Amount type = 'Single value'"
|
|
490
|
-
msgstr ""
|
|
491
|
-
|
|
492
|
-
#. module: account_statement_import_sheet_file
|
|
493
|
-
#. odoo-python
|
|
494
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
495
|
-
#, python-format
|
|
496
|
-
msgid ""
|
|
497
|
-
"Use amount_debit_column and amount_credit_column if you have set Amount type "
|
|
498
|
-
"= 'Distinct Credit/debit Column'"
|
|
499
|
-
msgstr ""
|
|
500
|
-
|
|
501
|
-
#. module: account_statement_import_sheet_file
|
|
502
|
-
#. odoo-python
|
|
503
|
-
#: code:addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py:0
|
|
504
|
-
#, python-format
|
|
505
|
-
msgid "Use debit_credit_column if you have set Amount type = 'Absolute value'"
|
|
474
|
+
#: model:ir.model.constraint,message:account_statement_import_sheet_file.constraint_account_statement_import_sheet_mapping_check_amount_columns
|
|
475
|
+
msgid "Use amount_column OR (amount_debit_column AND amount_credit_column)."
|
|
506
476
|
msgstr ""
|
|
507
477
|
|
|
508
478
|
#. module: account_statement_import_sheet_file
|
odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py
CHANGED
|
@@ -63,8 +63,9 @@ class AccountStatementImportSheetMapping(models.Model):
|
|
|
63
63
|
timestamp_format = fields.Char(required=True)
|
|
64
64
|
no_header = fields.Boolean(
|
|
65
65
|
string="File does not contain header line",
|
|
66
|
-
help="When this occurs please indicate the column number in
|
|
67
|
-
"instead of the column name, considering
|
|
66
|
+
help="When this occurs please indicate the column number in "
|
|
67
|
+
"the Columns section instead of the column name, considering "
|
|
68
|
+
"that the first column is 0",
|
|
68
69
|
)
|
|
69
70
|
timestamp_column = fields.Char(required=True)
|
|
70
71
|
currency_column = fields.Char(
|
|
@@ -190,7 +191,8 @@ class AccountStatementImportSheetMapping(models.Model):
|
|
|
190
191
|
elif item.amount_type == "absolute_value" and not item.debit_credit_column:
|
|
191
192
|
raise ValidationError(
|
|
192
193
|
_(
|
|
193
|
-
"Use debit_credit_column if you have set
|
|
194
|
+
"Use debit_credit_column if you have set "
|
|
195
|
+
"Amount type = 'Absolute value'"
|
|
194
196
|
)
|
|
195
197
|
)
|
|
196
198
|
elif item.amount_type == "distinct_credit_debit" and (
|
odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py
CHANGED
|
@@ -22,7 +22,7 @@ try:
|
|
|
22
22
|
|
|
23
23
|
import xlrd
|
|
24
24
|
from xlrd.xldate import xldate_as_datetime
|
|
25
|
-
except (
|
|
25
|
+
except (OSError, ImportError) as err: # pragma: no cover
|
|
26
26
|
_logger.error(err)
|
|
27
27
|
|
|
28
28
|
try:
|
|
@@ -256,18 +256,18 @@ class AccountStatementImportSheetParser(models.TransientModel):
|
|
|
256
256
|
else currency_code
|
|
257
257
|
)
|
|
258
258
|
|
|
259
|
-
def _decimal(column_name):
|
|
259
|
+
def _decimal(column_name, values):
|
|
260
260
|
if columns[column_name]:
|
|
261
261
|
return self._parse_decimal(
|
|
262
262
|
self._get_values_from_column(values, columns, column_name),
|
|
263
263
|
mapping,
|
|
264
264
|
)
|
|
265
265
|
|
|
266
|
-
amount = _decimal("amount_column")
|
|
266
|
+
amount = _decimal("amount_column", values)
|
|
267
267
|
if not amount:
|
|
268
|
-
amount = abs(_decimal("amount_debit_column") or 0)
|
|
268
|
+
amount = abs(_decimal("amount_debit_column", values) or 0)
|
|
269
269
|
if not amount:
|
|
270
|
-
amount = -abs(_decimal("amount_credit_column") or 0)
|
|
270
|
+
amount = -abs(_decimal("amount_credit_column", values) or 0)
|
|
271
271
|
|
|
272
272
|
balance = (
|
|
273
273
|
self._get_values_from_column(values, columns, "balance_column")
|
|
@@ -326,6 +326,19 @@ class AccountStatementImportSheetParser(models.TransientModel):
|
|
|
326
326
|
if columns["bank_account_column"]
|
|
327
327
|
else None
|
|
328
328
|
)
|
|
329
|
+
|
|
330
|
+
debit_column = (
|
|
331
|
+
self._get_values_from_column(values, columns, "amount_debit_column")
|
|
332
|
+
if columns["amount_debit_column"]
|
|
333
|
+
else None
|
|
334
|
+
)
|
|
335
|
+
|
|
336
|
+
credit_column = (
|
|
337
|
+
self._get_values_from_column(values, columns, "amount_credit_column")
|
|
338
|
+
if columns["amount_credit_column"]
|
|
339
|
+
else None
|
|
340
|
+
)
|
|
341
|
+
|
|
329
342
|
if currency != currency_code:
|
|
330
343
|
continue
|
|
331
344
|
|
|
@@ -342,6 +355,13 @@ class AccountStatementImportSheetParser(models.TransientModel):
|
|
|
342
355
|
if debit_credit == mapping.debit_value:
|
|
343
356
|
amount = -amount
|
|
344
357
|
|
|
358
|
+
if debit_column and credit_column:
|
|
359
|
+
debit_amount = self._parse_decimal(debit_column, mapping)
|
|
360
|
+
debit_amount = abs(debit_amount)
|
|
361
|
+
credit_amount = self._parse_decimal(credit_column, mapping)
|
|
362
|
+
credit_amount = abs(credit_amount)
|
|
363
|
+
amount = -(credit_amount - debit_amount)
|
|
364
|
+
|
|
345
365
|
if original_amount:
|
|
346
366
|
original_amount = math.copysign(
|
|
347
367
|
self._parse_decimal(original_amount, mapping), amount
|
|
@@ -441,7 +461,7 @@ class AccountStatementImportSheetParser(models.TransientModel):
|
|
|
441
461
|
if transaction_id:
|
|
442
462
|
note += _("Transaction ID: %s; ") % (transaction_id,)
|
|
443
463
|
if note and notes:
|
|
444
|
-
note = "{}\n{
|
|
464
|
+
note = f"{notes}\n{note.strip()}"
|
|
445
465
|
elif note:
|
|
446
466
|
note = note.strip()
|
|
447
467
|
elif notes:
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
- Alexis de Lattre \<<alexis.delattre@akretion.com>\>
|
|
2
|
+
- Sebastien BEAU \<<sebastien.beau@akretion.com>\>
|
|
3
|
+
- Katherine Zaoral
|
|
4
|
+
- Tecnativa (<https://www.tecnativa.com>)
|
|
5
|
+
- Vicent Cubells
|
|
6
|
+
- Victor M.M. Torres
|
|
7
|
+
- Víctor Martínez
|
|
8
|
+
- ForgeFlow (<https://www.forgeflow.com>)
|
|
9
|
+
- Jordi Ballester Alomar \<<jordi.ballester@forgeflow.com>\>
|
|
10
|
+
- Miquel Raïch Regué \<<miquel.raich@forgeflow.com>\>
|
|
11
|
+
- [CorporateHub](https://corporatehub.eu/)
|
|
12
|
+
- Alexey Pelykh \<<alexey.pelykh@corphub.eu>\>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
2
|
-
statements.
|
|
1
|
+
This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
2
|
+
bank statements.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
## 12.0.2.0.0
|
|
2
|
+
|
|
3
|
+
- \[BREAKING\] New mapping, please review mappings after upgrade.
|
|
4
|
+
- \[BREAKING\] Different bank accounts have to be used per each
|
|
5
|
+
currency.
|
|
6
|
+
- \[ADD\] Support for both Statement and Activity reports.
|
|
7
|
+
- \[ADD\] Separate fee and currency exchange parsing.
|
|
@@ -366,11 +366,11 @@ 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:90ec58274c675f5d4eb830271ef275cb5cd09e5c62babf88fd1ee82e5f228368
|
|
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/
|
|
372
|
-
<p>This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
373
|
-
statements.</p>
|
|
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_sheet_file"><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_sheet_file"><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
|
+
<p>This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
373
|
+
bank statements.</p>
|
|
374
374
|
<p><strong>Table of contents</strong></p>
|
|
375
375
|
<div class="contents local topic" id="contents">
|
|
376
376
|
<ul class="simple">
|
|
@@ -393,8 +393,10 @@ statements.</p>
|
|
|
393
393
|
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
|
|
394
394
|
<p>To create TXT/CSV/XLSX statement sheet columns mapping:</p>
|
|
395
395
|
<ol class="arabic simple">
|
|
396
|
-
<li>Open <em>Invoicing > Configuration > Accounting > Statement Sheet
|
|
397
|
-
|
|
396
|
+
<li>Open <em>Invoicing > Configuration > Accounting > Statement Sheet
|
|
397
|
+
Mappings</em></li>
|
|
398
|
+
<li>Create mapping(s) according to your online banking software statement
|
|
399
|
+
format</li>
|
|
398
400
|
</ol>
|
|
399
401
|
</div>
|
|
400
402
|
<div class="section" id="usage">
|
|
@@ -402,7 +404,8 @@ statements.</p>
|
|
|
402
404
|
<p>To use this module, you need to:</p>
|
|
403
405
|
<ol class="arabic simple">
|
|
404
406
|
<li>Get statement in TXT/CSV or XLSX from your online banking software</li>
|
|
405
|
-
<li>Go to Odoo and and import the statement file, selecting corresponding
|
|
407
|
+
<li>Go to Odoo and and import the statement file, selecting corresponding
|
|
408
|
+
format</li>
|
|
406
409
|
</ol>
|
|
407
410
|
</div>
|
|
408
411
|
<div class="section" id="changelog">
|
|
@@ -422,7 +425,7 @@ statements.</p>
|
|
|
422
425
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-statement-import/issues">GitHub Issues</a>.
|
|
423
426
|
In case of trouble, please check there if your issue has already been reported.
|
|
424
427
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
425
|
-
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%
|
|
428
|
+
<a class="reference external" href="https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
426
429
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
427
430
|
</div>
|
|
428
431
|
<div class="section" id="credits">
|
|
@@ -466,7 +469,7 @@ mission is to support the collaborative development of Odoo features and
|
|
|
466
469
|
promote its widespread use.</p>
|
|
467
470
|
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
|
468
471
|
<p><a class="reference external image-reference" href="https://github.com/alexey-pelykh"><img alt="alexey-pelykh" src="https://github.com/alexey-pelykh.png?size=40px" /></a></p>
|
|
469
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-statement-import/tree/
|
|
472
|
+
<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_sheet_file">OCA/bank-statement-import</a> project on GitHub.</p>
|
|
470
473
|
<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>
|
|
471
474
|
</div>
|
|
472
475
|
</div>
|
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
<field name="inherit_id" ref="account.view_account_journal_form" />
|
|
6
6
|
<field name="arch" type="xml">
|
|
7
7
|
<xpath expr="//page[@name='advanced_settings']/group" position="inside">
|
|
8
|
-
<group
|
|
9
|
-
string="Statement Import Map"
|
|
10
|
-
attrs="{'invisible': [('type','!=','bank')]}"
|
|
11
|
-
>
|
|
8
|
+
<group string="Statement Import Map" invisible="type != 'bank'">
|
|
12
9
|
<field name="default_sheet_mapping_id" />
|
|
13
10
|
</group>
|
|
14
11
|
</xpath>
|
odoo/addons/account_statement_import_sheet_file/views/account_statement_import_sheet_mapping.xml
CHANGED
|
@@ -44,24 +44,16 @@
|
|
|
44
44
|
<div
|
|
45
45
|
class="alert alert-warning"
|
|
46
46
|
role="alert"
|
|
47
|
-
|
|
47
|
+
invisible="not no_header"
|
|
48
48
|
>
|
|
49
49
|
<span
|
|
50
50
|
class="fa fa-info-circle"
|
|
51
51
|
/> indicate the column number in the Columns section. The first column is 0.
|
|
52
52
|
</div>
|
|
53
53
|
</group>
|
|
54
|
-
<group
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
<field
|
|
58
|
-
name="debit_value"
|
|
59
|
-
attrs="{'required': [('debit_credit_column', '!=', False)]}"
|
|
60
|
-
/>
|
|
61
|
-
<field
|
|
62
|
-
name="credit_value"
|
|
63
|
-
attrs="{'required': [('debit_credit_column', '!=', False)]}"
|
|
64
|
-
/>
|
|
54
|
+
<group invisible="not debit_credit_column">
|
|
55
|
+
<field name="debit_value" required="debit_credit_column" />
|
|
56
|
+
<field name="credit_value" required="debit_credit_column" />
|
|
65
57
|
</group>
|
|
66
58
|
<group>
|
|
67
59
|
<field name="header_lines_skip_count" />
|
|
@@ -84,25 +76,19 @@
|
|
|
84
76
|
<field name="amount_type" />
|
|
85
77
|
<field
|
|
86
78
|
name="amount_column"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
'invisible': [('amount_type', '=', 'distinct_credit_debit')],
|
|
90
|
-
}"
|
|
79
|
+
invisible="amount_type == 'distinct_credit_debit'"
|
|
80
|
+
required="amount_type != 'distinct_credit_debit'"
|
|
91
81
|
/>
|
|
92
82
|
|
|
93
83
|
<field
|
|
94
84
|
name="amount_debit_column"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
'invisible': [('amount_type', '!=', 'distinct_credit_debit')],
|
|
98
|
-
}"
|
|
85
|
+
invisible="amount_type != 'distinct_credit_debit'"
|
|
86
|
+
required="amount_type == 'distinct_credit_debit'"
|
|
99
87
|
/>
|
|
100
88
|
<field
|
|
101
89
|
name="amount_credit_column"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
'invisible': [('amount_type', '!=', 'distinct_credit_debit')],
|
|
105
|
-
}"
|
|
90
|
+
invisible="amount_type != 'distinct_credit_debit'"
|
|
91
|
+
required="amount_type == 'distinct_credit_debit'"
|
|
106
92
|
/>
|
|
107
93
|
<field name="amount_inverse_sign" />
|
|
108
94
|
<field name="balance_column" />
|
|
@@ -110,10 +96,8 @@
|
|
|
110
96
|
<field name="original_amount_column" />
|
|
111
97
|
<field
|
|
112
98
|
name="debit_credit_column"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
'invisible': [('amount_type', '!=', 'absolute_value')],
|
|
116
|
-
}"
|
|
99
|
+
invisible="amount_type != 'absolute_value'"
|
|
100
|
+
required="amount_type == 'absolute_value'"
|
|
117
101
|
/>
|
|
118
102
|
<field name="transaction_id_column" />
|
|
119
103
|
<field name="description_column" />
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name: odoo-addon-
|
|
3
|
-
Version:
|
|
2
|
+
Name: odoo-addon-account_statement_import_sheet_file
|
|
3
|
+
Version: 17.0.1.0.0.2
|
|
4
|
+
Requires-Python: >=3.10
|
|
5
|
+
Requires-Dist: chardet
|
|
6
|
+
Requires-Dist: odoo-addon-account_statement_import_file>=17.0dev,<17.1dev
|
|
7
|
+
Requires-Dist: odoo>=17.0a,<17.1dev
|
|
8
|
+
Requires-Dist: xlrd
|
|
4
9
|
Summary: Import TXT/CSV or XLSX files as Bank Statements in Odoo
|
|
5
10
|
Home-page: https://github.com/OCA/bank-statement-import
|
|
11
|
+
License: AGPL-3
|
|
6
12
|
Author: ForgeFlow, CorporateHub, Odoo Community Association (OCA)
|
|
7
13
|
Author-email: support@odoo-community.org
|
|
8
|
-
License: AGPL-3
|
|
9
|
-
Platform: UNKNOWN
|
|
10
14
|
Classifier: Programming Language :: Python
|
|
11
15
|
Classifier: Framework :: Odoo
|
|
12
|
-
Classifier: Framework :: Odoo ::
|
|
16
|
+
Classifier: Framework :: Odoo :: 17.0
|
|
13
17
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
14
|
-
Requires-Python: >=3.10
|
|
15
|
-
Requires-Dist: chardet
|
|
16
|
-
Requires-Dist: odoo-addon-account-statement-import-file <16.1dev,>=16.0dev
|
|
17
|
-
Requires-Dist: odoo <16.1dev,>=16.0a
|
|
18
|
-
Requires-Dist: xlrd
|
|
19
18
|
|
|
20
19
|
==================================
|
|
21
20
|
Bank Statement TXT/CSV/XLSX Import
|
|
@@ -26,7 +25,7 @@ Bank Statement TXT/CSV/XLSX Import
|
|
|
26
25
|
!! This file is generated by oca-gen-addon-readme !!
|
|
27
26
|
!! changes will be overwritten. !!
|
|
28
27
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
29
|
-
!! source digest: sha256:
|
|
28
|
+
!! source digest: sha256:90ec58274c675f5d4eb830271ef275cb5cd09e5c62babf88fd1ee82e5f228368
|
|
30
29
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
30
|
|
|
32
31
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -36,19 +35,19 @@ Bank Statement TXT/CSV/XLSX Import
|
|
|
36
35
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
37
36
|
:alt: License: AGPL-3
|
|
38
37
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--statement--import-lightgray.png?logo=github
|
|
39
|
-
:target: https://github.com/OCA/bank-statement-import/tree/
|
|
38
|
+
:target: https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_sheet_file
|
|
40
39
|
:alt: OCA/bank-statement-import
|
|
41
40
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
42
|
-
:target: https://translation.odoo-community.org/projects/bank-statement-import-
|
|
41
|
+
:target: https://translation.odoo-community.org/projects/bank-statement-import-17-0/bank-statement-import-17-0-account_statement_import_sheet_file
|
|
43
42
|
:alt: Translate me on Weblate
|
|
44
43
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
45
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=
|
|
44
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-statement-import&target_branch=17.0
|
|
46
45
|
:alt: Try me on Runboat
|
|
47
46
|
|
|
48
47
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
49
48
|
|
|
50
|
-
This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
51
|
-
statements.
|
|
49
|
+
This module allows you to import any TXT/CSV or XLSX file in Odoo as
|
|
50
|
+
bank statements.
|
|
52
51
|
|
|
53
52
|
**Table of contents**
|
|
54
53
|
|
|
@@ -60,27 +59,30 @@ Configuration
|
|
|
60
59
|
|
|
61
60
|
To create TXT/CSV/XLSX statement sheet columns mapping:
|
|
62
61
|
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
1. Open *Invoicing > Configuration > Accounting > Statement Sheet
|
|
63
|
+
Mappings*
|
|
64
|
+
2. Create mapping(s) according to your online banking software statement
|
|
65
|
+
format
|
|
65
66
|
|
|
66
67
|
Usage
|
|
67
68
|
=====
|
|
68
69
|
|
|
69
70
|
To use this module, you need to:
|
|
70
71
|
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
1. Get statement in TXT/CSV or XLSX from your online banking software
|
|
73
|
+
2. Go to Odoo and and import the statement file, selecting corresponding
|
|
74
|
+
format
|
|
73
75
|
|
|
74
76
|
Changelog
|
|
75
77
|
=========
|
|
76
78
|
|
|
77
79
|
12.0.2.0.0
|
|
78
|
-
|
|
80
|
+
----------
|
|
79
81
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
- [BREAKING] New mapping, please review mappings after upgrade.
|
|
83
|
+
- [BREAKING] Different bank accounts have to be used per each currency.
|
|
84
|
+
- [ADD] Support for both Statement and Activity reports.
|
|
85
|
+
- [ADD] Separate fee and currency exchange parsing.
|
|
84
86
|
|
|
85
87
|
Bug Tracker
|
|
86
88
|
===========
|
|
@@ -88,7 +90,7 @@ Bug Tracker
|
|
|
88
90
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-statement-import/issues>`_.
|
|
89
91
|
In case of trouble, please check there if your issue has already been reported.
|
|
90
92
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
91
|
-
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%
|
|
93
|
+
`feedback <https://github.com/OCA/bank-statement-import/issues/new?body=module:%20account_statement_import_sheet_file%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
92
94
|
|
|
93
95
|
Do not contact contributors directly about support or help with technical issues.
|
|
94
96
|
|
|
@@ -96,34 +98,34 @@ Credits
|
|
|
96
98
|
=======
|
|
97
99
|
|
|
98
100
|
Authors
|
|
99
|
-
|
|
101
|
+
-------
|
|
100
102
|
|
|
101
103
|
* ForgeFlow
|
|
102
104
|
* CorporateHub
|
|
103
105
|
|
|
104
106
|
Contributors
|
|
105
|
-
|
|
107
|
+
------------
|
|
106
108
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
- Alexis de Lattre <alexis.delattre@akretion.com>
|
|
110
|
+
- Sebastien BEAU <sebastien.beau@akretion.com>
|
|
111
|
+
- Katherine Zaoral
|
|
112
|
+
- Tecnativa (https://www.tecnativa.com)
|
|
111
113
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
- Vicent Cubells
|
|
115
|
+
- Victor M.M. Torres
|
|
116
|
+
- Víctor Martínez
|
|
115
117
|
|
|
116
|
-
|
|
118
|
+
- ForgeFlow (https://www.forgeflow.com)
|
|
117
119
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
|
|
121
|
+
- Miquel Raïch Regué <miquel.raich@forgeflow.com>
|
|
120
122
|
|
|
121
|
-
|
|
123
|
+
- `CorporateHub <https://corporatehub.eu/>`__
|
|
122
124
|
|
|
123
|
-
|
|
125
|
+
- Alexey Pelykh <alexey.pelykh@corphub.eu>
|
|
124
126
|
|
|
125
127
|
Maintainers
|
|
126
|
-
|
|
128
|
+
-----------
|
|
127
129
|
|
|
128
130
|
This module is maintained by the OCA.
|
|
129
131
|
|
|
@@ -143,8 +145,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
143
145
|
|
|
144
146
|
|maintainer-alexey-pelykh|
|
|
145
147
|
|
|
146
|
-
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/
|
|
148
|
+
This module is part of the `OCA/bank-statement-import <https://github.com/OCA/bank-statement-import/tree/17.0/account_statement_import_sheet_file>`_ project on GitHub.
|
|
147
149
|
|
|
148
150
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
149
|
-
|
|
150
|
-
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
odoo/addons/account_statement_import_sheet_file/README.rst,sha256=
|
|
1
|
+
odoo/addons/account_statement_import_sheet_file/README.rst,sha256=Lw7S1WeTRzM3_gz13ntoeZuo0zSaD5FRwvtlzUTbH98,4532
|
|
2
2
|
odoo/addons/account_statement_import_sheet_file/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
-
odoo/addons/account_statement_import_sheet_file/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/account_statement_import_sheet_file/__manifest__.py,sha256=FqlF20VsYw9vR4lculShyHKtDyY2tD3lczkROP6X_cQ,934
|
|
4
4
|
odoo/addons/account_statement_import_sheet_file/data/map_data.xml,sha256=nz_4CchVMF9pb_SI4I6UZAt2IBPxWapX37lU6J6sTJ0,1225
|
|
5
|
-
odoo/addons/account_statement_import_sheet_file/i18n/account_statement_import_sheet_file.pot,sha256=
|
|
6
|
-
odoo/addons/account_statement_import_sheet_file/i18n/es.po,sha256=
|
|
7
|
-
odoo/addons/account_statement_import_sheet_file/i18n/es_AR.po,sha256=
|
|
8
|
-
odoo/addons/account_statement_import_sheet_file/i18n/it.po,sha256=
|
|
9
|
-
odoo/addons/account_statement_import_sheet_file/i18n/nl.po,sha256=
|
|
10
|
-
odoo/addons/account_statement_import_sheet_file/i18n/pt.po,sha256=
|
|
5
|
+
odoo/addons/account_statement_import_sheet_file/i18n/account_statement_import_sheet_file.pot,sha256=TIkEks-xCLy5oIlvtP3vm2GS9bMQGjcUGiwwsei12Ec,26063
|
|
6
|
+
odoo/addons/account_statement_import_sheet_file/i18n/es.po,sha256=THoLN8Y6STBARFhQc_yqklqE4XpwA02NCA_B_1FXOR4,31160
|
|
7
|
+
odoo/addons/account_statement_import_sheet_file/i18n/es_AR.po,sha256=cKvwfPJtNH3Uk63Jio4xBt9LEKvDstJG2rzH61BgqhM,29079
|
|
8
|
+
odoo/addons/account_statement_import_sheet_file/i18n/it.po,sha256=TVgrORETWZj6duN7iCSeN18Mmr3ogL1FU7AiRHo1MIA,30842
|
|
9
|
+
odoo/addons/account_statement_import_sheet_file/i18n/nl.po,sha256=fWjOMQHE4qWtTe4bEYdPiQmfcSjMT5T3Sz3-fDdE2-s,26141
|
|
10
|
+
odoo/addons/account_statement_import_sheet_file/i18n/pt.po,sha256=Rmh2gUAWMWe_lZA0Q9qkpRO5SZi69XhyR5PIGcHmnbA,25622
|
|
11
11
|
odoo/addons/account_statement_import_sheet_file/i18n/tr.po,sha256=E7RAI-7QCrsGc9LK9KP1DXaKbBUNeomHRoZ94a1mZBU,30547
|
|
12
|
-
odoo/addons/account_statement_import_sheet_file/i18n/zh_CN.po,sha256=
|
|
13
|
-
odoo/addons/account_statement_import_sheet_file/migrations/16.0.1.0.0/pre-migration.py,sha256=RWsXKnn1oH9MM8Jl-XPXROi-qpn3sJ4tYT0GKZ1PuOc,1487
|
|
12
|
+
odoo/addons/account_statement_import_sheet_file/i18n/zh_CN.po,sha256=GKk_DwaWLV23EMo1Zxwb09WXhjTi16Fm7ZILQ0qKAIM,26072
|
|
14
13
|
odoo/addons/account_statement_import_sheet_file/models/__init__.py,sha256=RsEvd89lQS7V0Mlk6D6FAWyOMDRd8YD0d9i4Xc-XcDo,240
|
|
15
14
|
odoo/addons/account_statement_import_sheet_file/models/account_journal.py,sha256=F4_deAvNErZ6o1gkw9uhDrEnHyWXUKNvk09mzCVzTIw,562
|
|
16
15
|
odoo/addons/account_statement_import_sheet_file/models/account_statement_import.py,sha256=KWDYgO9-C1ZAF7JO9Qlq2ghROcJIwKhGp1CueTnA368,1932
|
|
17
|
-
odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py,sha256=
|
|
18
|
-
odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py,sha256=
|
|
19
|
-
odoo/addons/account_statement_import_sheet_file/readme/CONFIGURE.
|
|
20
|
-
odoo/addons/account_statement_import_sheet_file/readme/CONTRIBUTORS.
|
|
21
|
-
odoo/addons/account_statement_import_sheet_file/readme/DESCRIPTION.
|
|
22
|
-
odoo/addons/account_statement_import_sheet_file/readme/HISTORY.
|
|
23
|
-
odoo/addons/account_statement_import_sheet_file/readme/USAGE.
|
|
16
|
+
odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py,sha256=J-V5iXnkwlk88hxeizcsqoTIDk7Tie6D-ep-4oAV9a4,8868
|
|
17
|
+
odoo/addons/account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py,sha256=qr7ZiqrwhfeDueamVtgmCYhUEzfINrnNmC5QmpkeiUU,18126
|
|
18
|
+
odoo/addons/account_statement_import_sheet_file/readme/CONFIGURE.md,sha256=1Z-fR-OJrU8oshmBIcFA3yBd4evqZSgfqezqPRs8RpY,226
|
|
19
|
+
odoo/addons/account_statement_import_sheet_file/readme/CONTRIBUTORS.md,sha256=0HSPXu9dLttzvX3dzg5ALEUOB5g_NcDMPJwSnAWNVfs,485
|
|
20
|
+
odoo/addons/account_statement_import_sheet_file/readme/DESCRIPTION.md,sha256=VFlOJ-nljwNW6S9uaZVNb_x6Gw1P0FLr6gHcV2-dHk4,86
|
|
21
|
+
odoo/addons/account_statement_import_sheet_file/readme/HISTORY.md,sha256=7y-Qd00CnGzaFNX1N4w-TiCAzeubOmsKDXQ-otIfjFQ,270
|
|
22
|
+
odoo/addons/account_statement_import_sheet_file/readme/USAGE.md,sha256=KcCNrSS7xVkRrpqfoZoL6VVkysu1dpOgRRNTfn2QH0c,190
|
|
24
23
|
odoo/addons/account_statement_import_sheet_file/security/ir.model.access.csv,sha256=ofB5jVirJJ3FQ-uWfKFD-DIg8Lh9bYLaUDQWnb9MkgM,685
|
|
25
24
|
odoo/addons/account_statement_import_sheet_file/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
26
|
-
odoo/addons/account_statement_import_sheet_file/static/description/index.html,sha256=
|
|
25
|
+
odoo/addons/account_statement_import_sheet_file/static/description/index.html,sha256=y2PkJptlhxZRl2EOa8w7MBRxUK33rnBwNVkn-ykscjY,15285
|
|
27
26
|
odoo/addons/account_statement_import_sheet_file/tests/__init__.py,sha256=f7vTpmONnfbbcMp5wZ1p7muSkyLC2vcDONaw2VGyiBw,121
|
|
28
27
|
odoo/addons/account_statement_import_sheet_file/tests/test_account_statement_import_sheet_file.py,sha256=3V98ug6c9xjrSMMhUAk5bXWgBjjgmZzIkx0ttFju62g,27703
|
|
29
28
|
odoo/addons/account_statement_import_sheet_file/tests/fixtures/balance.csv,sha256=-7VrGM_IbKhOJzbX-bUMIsnd99uDIBkalTytlj2jVtk,209
|
|
@@ -41,10 +40,10 @@ odoo/addons/account_statement_import_sheet_file/tests/fixtures/sample_statement_
|
|
|
41
40
|
odoo/addons/account_statement_import_sheet_file/tests/fixtures/sample_statement_en.csv,sha256=6WexRDEog728ur2DK7J_xI056FCrX5CkB-3xK6LixAM,265
|
|
42
41
|
odoo/addons/account_statement_import_sheet_file/tests/fixtures/sample_statement_en.xlsx,sha256=eOpaIIiKh6hTE_ebGwCgIaJBpoehKEQAqrXjHiMklVQ,5101
|
|
43
42
|
odoo/addons/account_statement_import_sheet_file/tests/fixtures/sample_statement_en_empty_values.xlsx,sha256=hNsBB9zBQG11On56axs8nZRrzff9d6DFVyQGsyuRb_M,6501
|
|
44
|
-
odoo/addons/account_statement_import_sheet_file/views/account_journal_views.xml,sha256=
|
|
43
|
+
odoo/addons/account_statement_import_sheet_file/views/account_journal_views.xml,sha256=h3A5JmNGunmCybjD_Gx_v6PghhHy0TOqos3Bu5PHhTk,594
|
|
45
44
|
odoo/addons/account_statement_import_sheet_file/views/account_statement_import.xml,sha256=KhgiMxHjI5tq1RlkmDYOhejqrxN4mXLc5nT9EM9gQ5s,842
|
|
46
|
-
odoo/addons/account_statement_import_sheet_file/views/account_statement_import_sheet_mapping.xml,sha256=
|
|
47
|
-
odoo_addon_account_statement_import_sheet_file-
|
|
48
|
-
odoo_addon_account_statement_import_sheet_file-
|
|
49
|
-
odoo_addon_account_statement_import_sheet_file-
|
|
50
|
-
odoo_addon_account_statement_import_sheet_file-
|
|
45
|
+
odoo/addons/account_statement_import_sheet_file/views/account_statement_import_sheet_mapping.xml,sha256=iM2d-xg3aX6cmd2nI0RDl1Do5XSX2_2RKV9KvVbCAQQ,6231
|
|
46
|
+
odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info/METADATA,sha256=5_XCOQ2SPr_Baw9ugH-3J4UmrzuEZNX4a9vc4zX0k3Y,5238
|
|
47
|
+
odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info/WHEEL,sha256=8Rd4enx1PCuyDWP4SABqO5Fv8rpaknqp3VzjoFFLa6c,83
|
|
48
|
+
odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
49
|
+
odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
odoo
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Copyright 2023 Tecnativa - Víctor Martínez
|
|
2
|
-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
3
|
-
|
|
4
|
-
from openupgradelib import openupgrade
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@openupgrade.migrate()
|
|
8
|
-
def migrate(env, version):
|
|
9
|
-
# Add amount_type column and set values to keep the same functionality as in v15
|
|
10
|
-
if not openupgrade.column_exists(
|
|
11
|
-
env.cr, "account_statement_import_sheet_mapping", "amount_type"
|
|
12
|
-
):
|
|
13
|
-
openupgrade.logged_query(
|
|
14
|
-
env.cr,
|
|
15
|
-
"""
|
|
16
|
-
ALTER TABLE account_statement_import_sheet_mapping
|
|
17
|
-
ADD COLUMN IF NOT EXISTS amount_type VARCHAR;
|
|
18
|
-
""",
|
|
19
|
-
)
|
|
20
|
-
openupgrade.logged_query(
|
|
21
|
-
env.cr,
|
|
22
|
-
"""
|
|
23
|
-
UPDATE account_statement_import_sheet_mapping
|
|
24
|
-
SET amount_type = 'simple_value'
|
|
25
|
-
WHERE amount_column IS NOT NULL
|
|
26
|
-
""",
|
|
27
|
-
)
|
|
28
|
-
openupgrade.logged_query(
|
|
29
|
-
env.cr,
|
|
30
|
-
"""
|
|
31
|
-
UPDATE account_statement_import_sheet_mapping
|
|
32
|
-
SET amount_type = 'distinct_credit_debit'
|
|
33
|
-
WHERE amount_debit_column != amount_credit_column
|
|
34
|
-
AND amount_debit_column IS NOT NULL
|
|
35
|
-
AND amount_credit_column IS NOT NULL
|
|
36
|
-
""",
|
|
37
|
-
)
|
|
38
|
-
openupgrade.logged_query(
|
|
39
|
-
env.cr,
|
|
40
|
-
"""
|
|
41
|
-
UPDATE account_statement_import_sheet_mapping
|
|
42
|
-
SET amount_type = 'absolute_value'
|
|
43
|
-
WHERE debit_credit_column IS NOT NULL
|
|
44
|
-
""",
|
|
45
|
-
)
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
* Alexis de Lattre <alexis.delattre@akretion.com>
|
|
2
|
-
* Sebastien BEAU <sebastien.beau@akretion.com>
|
|
3
|
-
* Katherine Zaoral
|
|
4
|
-
* Tecnativa (https://www.tecnativa.com)
|
|
5
|
-
|
|
6
|
-
* Vicent Cubells
|
|
7
|
-
* Victor M.M. Torres
|
|
8
|
-
* Víctor Martínez
|
|
9
|
-
|
|
10
|
-
* ForgeFlow (https://www.forgeflow.com)
|
|
11
|
-
|
|
12
|
-
* Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
|
|
13
|
-
* Miquel Raïch Regué <miquel.raich@forgeflow.com>
|
|
14
|
-
|
|
15
|
-
* `CorporateHub <https://corporatehub.eu/>`__
|
|
16
|
-
|
|
17
|
-
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
12.0.2.0.0
|
|
2
|
-
~~~~~~~~~~
|
|
3
|
-
|
|
4
|
-
* [BREAKING] New mapping, please review mappings after upgrade.
|
|
5
|
-
* [BREAKING] Different bank accounts have to be used per each currency.
|
|
6
|
-
* [ADD] Support for both Statement and Activity reports.
|
|
7
|
-
* [ADD] Separate fee and currency exchange parsing.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
odoo
|