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

[16][FIX] account_statement_import_online_qonto : fix import #718

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

florian-dacosta
Copy link
Contributor

I think there are some big issues on the v16 module.
Mainly, the payment_ref of the statement line is empty (although it is the main field that give us information about the transaction) and the number (field name) of the accounting entry is not the one of the journal, it is the label of the transaction!
Probably a confusion due to the fact that account.bank.statement.line inherits account.move

This PR also fix the foreign currency management which is not functional at the moment.

Also remove the verify=False on the calls to qonto.
There are no comment whatsoever indicating why it was done, and this is working fine without it.

The changes comes from 21712f5

I don't know if the module is used already in v16, I guess/hope not, but it would be nice to review/merge this fast as the issues are importants.
@victoralmau @pedrobaeza @carolinafernandez-tecnativa

Copy link
Member

@flotho flotho left a comment

Choose a reason for hiding this comment

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

Hi,
I confirm that this PR solve some problems in production.
For example, without this PR when importing, Odoo raise an issue about duplicate move name, mainly because of the absence of name in transactions.
This PR works fine.
Code review OK,

Copy link
Member

@flotho flotho left a comment

Choose a reason for hiding this comment

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

hi @florian-dacosta ,

could you change the PR nme and the commits to follow guidelines ?

Regarsd

@florian-dacosta florian-dacosta changed the title [16] Fix qonto impot [16][FIX] account_statement_import_online_qonto : fix import Sep 23, 2024
Fix accounting entry number
fix statement line description
fix foreign currency import
@florian-dacosta
Copy link
Contributor Author

hi @florian-dacosta ,

could you change the PR nme and the commits to follow guidelines ?

Regarsd

It should be ok now @flotho

Copy link
Member

@flotho flotho left a comment

Choose a reason for hiding this comment

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

Thanks @florian-dacosta
LGTM

@pedrobaeza pedrobaeza added this to the 16.0 milestone Sep 25, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-718-by-pedrobaeza-bump-patch, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Sep 25, 2024
Signed-off-by pedrobaeza
@OCA-git-bot
Copy link
Contributor

@pedrobaeza your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-718-by-pedrobaeza-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.

@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-718-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 283cc43 into OCA:16.0 Sep 25, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at bfd03cb. Thanks a lot for contributing to OCA. ❤️

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.

4 participants