odoo-addon-account-statement-import-sheet-file 16.0.1.1.1.3__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 +45 -16
- 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/tests/fixtures/sample_statement_en_empty_values.xlsx +0 -0
- odoo/addons/account_statement_import_sheet_file/tests/test_account_statement_import_sheet_file.py +140 -0
- 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.1.3.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.1.3.dist-info → odoo_addon_account_statement_import_sheet_file-17.0.1.0.0.2.dist-info}/RECORD +25 -25
- {odoo_addon_account_statement_import_sheet_file-16.0.1.1.1.3.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.1.3.dist-info/top_level.txt +0 -1
|
@@ -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
|