Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qif import imports dates incorrectly - dd/mm/yyyy switches to mm/dd/yyyy part way through processing the upload #756

Open
StuartJMackintosh opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@StuartJMackintosh
Copy link
Member

Module

The name of the module that has a bug.

https://github.com/OCA/bank-statement-import/tree/16.0/account_statement_import_qif

Describe the bug

A clear and concise description of what the bug is.

Strangely, the month switches with the day when loading the qif statement. The source qif data shows the dates as dd/mm/yyyy however part way through, the dates are switched to mm/dd/yyyy. See screenshot.

In this case, when dd >= 12, mm is swapped with dd

Full test file loaded in to runboat here:
http://oca-bank-statement-import-16-0-e2f1cd9229dc.runboat.odoo-community.org/web#id=2&cids=1&menu_id=115&action=244&active_id=5&model=account.bank.statement&view_type=form

!Type:Bank
D16/12/2024
PBlaBlaCar Bus CD 1417    15DEC24
T-21.62
^
D13/12/2024
PSHELL BOOTHFERRY R CD 1417
T-16.04
^
D13/12/2024
PLOPAY: TAXI* LOPAY CD 1417
T-6.80
^
D11/12/2024
PNON-GBP TRANS FEE 2.75% CD 1417
T-1.32
^
D10/12/2024
PNON-GBP TRANS FEE 2.75% CD 1417
T-0.73
^
D10/12/2024
PStreet-Food CH           29.90 VISAXR     1.11692 CD 1417
T-26.77
^
D09/12/2024
PNON-GBP TRANS FEE 2.75% CD 1417    07DEC24
T-1.08
^

image

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Import qif file

Expected behavior
A clear and concise description of what you expected to happen.

Dates to be linear, as in the source qif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant