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

Handle chknum in transaction field #173

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

ludo-c
Copy link

@ludo-c ludo-c commented Nov 27, 2023

Hi.

This PR adds the support of the chknum field in a transaction.
It's the same than checknum, I don't know why there are two names for the same thing.
I added a test with that field, all other tests are still ok Ran 68 tests in 0.282s.

I don't think one ofx file can have both fields, that's why I reused the transaction.checknum attribute.

@ludo-c ludo-c force-pushed the handle_chknum_field branch 2 times, most recently from 7cef8d8 to 20f4a9b Compare November 27, 2023 07:18
Jerry Seutter and others added 17 commits November 27, 2023 09:25
Allow parsing of number containing spaces or
startting with a '+' sign.

Such as '1 025,58' or '+1205'.
In a transaction dtuser reflects the date at which the transaction is
actually done. dtposted (the current date property of the transaction
object) reflects the date at which the transaction is effective.

This patch adds the dtuser to the transaction object as user_date.

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

Successfully merging this pull request may close these issues.

None yet

8 participants