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.0][MIG] account_payment_credit_card: Migration to version 16.0 #751

Merged
merged 21 commits into from
Aug 29, 2024

Conversation

carlos-lopez-tecnativa
Copy link

@Tecnativa TT49796

@carlos-lopez-tecnativa
Copy link
Author

@carolinafernandez-tecnativa @pedrobaeza could you please help me with the review of this module? Thank you!

Copy link

Choose a reason for hiding this comment

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

Check this example:

image

I registered payment to this invoice with journal configuration

image

Payment is created correctly, but invoice still pending to paid and let me add many payments...

image

If you test it with the same partner as set in journal, it happens the same.
Is this behavoiur is on the goal of this module?

Journal configuration:

image

account_payment_credit_card/views/account_view.xml Outdated Show resolved Hide resolved
account_payment_credit_card/readme/CONFIGURE.rst Outdated Show resolved Hide resolved
@carlos-lopez-tecnativa
Copy link
Author

@carolinafernandez-tecnativa I noticed that you tested with a customer invoice, but this module is intended only for vendor bills. Your images show inconsistencies; for instance, the first invoice is INV/2024/00006, but the payment is linked to invoice INV/2024/00005.

Please test with vendor bills.

@pedrobaeza, could you provide your comments on whether we need to add a constraint to prevent usage with customer invoices?

With vendor bills, it works fine for me.
image
image

@carolinafernandez-tecnativa

Ok, please check with customer invoices is making an unusual behavour that was my intention to transmit for journal that has the configuration. Maybe add a restriction not to use this journal to pay customer invoices.

@carlos-lopez-tecnativa
Copy link
Author

Ok, please check with customer invoices is making an unusual behavour that was my intention to transmit for journal that has the configuration. Maybe add a restriction not to use this journal to pay customer invoices.

Yes, this behavior has been inconsistent since version 14 (it only worked for vendor bills). @pedrobaeza, should we add this restriction as part of the migration, or should we not add the constraint?

@pedrobaeza
Copy link
Member

/ocabot migration account_payment_credit_card

I don't think we should restrict them, as there can be legit debits in these journals. The README is clear stating about vendor bills, so nothing more to be done on your side.

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Aug 28, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Aug 28, 2024
13 tasks
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.

Code review

Copy link
Member

@victoralmau victoralmau left a comment

Choose a reason for hiding this comment

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

Code review OK

@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). 🤖

@pedrobaeza
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit fd7245f into OCA:16.0 Aug 29, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 16.0-mig-account_payment_credit_card branch August 29, 2024 18:54
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.