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

[14.0][FIX] account_statement_import_txt_xlsx: handle empty debit/credit #546

Closed
wants to merge 1 commit into from
Closed

[14.0][FIX] account_statement_import_txt_xlsx: handle empty debit/credit #546

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 16, 2023

When the bank statement import file has two amount columns (in and out), each line is using one column (in or out), and the other column is empty. With this fix, empty values will be handled correctly.

@OCA-git-bot
Copy link
Contributor

Hi @alexey-pelykh,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 14.0 milestone Jan 16, 2023
@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 21, 2023
@norlinhenrik
Copy link
Contributor

I have rebased now. Can we merge?

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 18, 2023
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@norlinhenrik
Copy link
Contributor

Hi @alexey-pelykh
Would you like to review this PR?

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 22, 2023
@norlinhenrik
Copy link
Contributor

@pedrobaeza @MiquelRForgeFlow @alexey-pelykh
Can we rebase and merge this PR? I am using it in production.

@@ -1,5 +1,5 @@
"Date","Label","Debit","Credit","Balance","Partner Name","Bank Account"
"12/15/2018","Credit 20.00","0.00","20.00","-10.00","John Doe","123456789"
"12/15/2018","Debit empty, Credit 20",,"20","-10.00","John Doe","123456789"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"12/15/2018","Debit empty, Credit 20",,"20","-10.00","John Doe","123456789"
"12/15/2018","Debit empty, Credit 20.00",,"20.00","-10.00","John Doe","123456789"

🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I set 20 to test that it works with an integer. Should I write Debit empty, Credit integer?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have now written Debit test empty, Credit test integer to be clear on why I have empty / integer values.

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 29, 2023
@norlinhenrik
Copy link
Contributor

Can we merge this now?

@alexey-pelykh
Copy link
Contributor

/ocabot rebase

@OCA-git-bot
Copy link
Contributor

Congratulations, PR rebased to 14.0.

@alexey-pelykh
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 14.0-ocabot-merge-pr-546-by-alexey-pelykh-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jan 23, 2024
Signed-off-by alexey-pelykh
@OCA-git-bot
Copy link
Contributor

@alexey-pelykh your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-546-by-alexey-pelykh-bump-patch.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

@norlinhenrik
Copy link
Contributor

Can anyone explain the failed check? I don't understand what is the problem.

@ghost ghost closed this by deleting the head repository Feb 12, 2024
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants