forked from OCA/bank-statement-import
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] account_bank_statement_import_txt_xlsx: header/footer trimming,…
… separate debit/credit
- Loading branch information
1 parent
e714ff9
commit 94de5ba
Showing
11 changed files
with
259 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
account_bank_statement_import_txt_xlsx/migrations/12.0.3.0.0/post-migration.py
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
account_bank_statement_import_txt_xlsx/migrations/13.0.1.0.5/post-migration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.logged_query( | ||
env.cr, | ||
""" | ||
UPDATE account_bank_statement_import_sheet_mapping | ||
SET amount_type = 'absolute_value' | ||
WHERE debit_credit_column IS NOT NULL; | ||
""", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+5.23 KB
account_bank_statement_import_txt_xlsx/tests/fixtures/meta_data_separated_credit_debit.xlsx
Binary file not shown.
Oops, something went wrong.