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][IMP] Add warning when payment order is not SEPA #1344

Merged

Conversation

toita86
Copy link

@toita86 toita86 commented Sep 10, 2024

The field 'sepa' on account.payment.order is only display for SEPA payment methods.
If the option "show warning if not SEPA" is enabled on the payment method, a warning banner is now displayed on payment orders with a SEPA payment method which are not SEPA.

Backporting of #1149 needed for OCA/l10n-italy#4367

@toita86 toita86 marked this pull request as ready for review September 10, 2024 08:30
@toita86 toita86 changed the title [14.0][IMP] add warning when payment order is not SEPA [14.0][IMP] Add warning when payment order is not SEPA Sep 10, 2024
@toita86 toita86 force-pushed the 14.0-IMP-account_banking_pain_base-toita86 branch from b2cddeb to fd445e2 Compare September 10, 2024 09:25
@anmarmo1
Copy link

The functional review is correct.
image

@francesco-ooops
Copy link
Contributor

Thanks @anmarmo1 , could you approve the PR?

@alexis-via @pedrobaeza was there any problem with this feature in v14?

Copy link

@anmarmo1 anmarmo1 left a comment

Choose a reason for hiding this comment

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

Yes! sorry

@pedrobaeza pedrobaeza added this to the 14.0 milestone Sep 11, 2024
@pedrobaeza
Copy link
Member

Second commit is not adding anything.

Copy link

@GSLabIt GSLabIt left a comment

Choose a reason for hiding this comment

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

Maybe you can squash commits? Overall looks good

@toita86 toita86 force-pushed the 14.0-IMP-account_banking_pain_base-toita86 branch from fd445e2 to b531dbe Compare September 13, 2024 07:29
@francesco-ooops
Copy link
Contributor

@pedrobaeza good to go? :)

@@ -109,6 +109,8 @@ Contributors

* Pedro M. Baeza
* Carlos Roca
* `Ooops404 <https://www.ooops404.com/>`_:
Copy link
Member

Choose a reason for hiding this comment

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

This shouldn't be added, as it's only a cherry-picking

Copy link
Author

Choose a reason for hiding this comment

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

@pedrobaeza my bad, just fixed!

@toita86 toita86 force-pushed the 14.0-IMP-account_banking_pain_base-toita86 branch from b531dbe to 56e0bfb Compare September 13, 2024 08:19
The field 'sepa' on account.payment.order is only display for SEPA
payment methods.
If the option "show warning if not SEPA" is enabled on the payment
method, a warning banner is now displayed on payment orders with a SEPA
payment method which are not SEPA.
@toita86 toita86 force-pushed the 14.0-IMP-account_banking_pain_base-toita86 branch from 56e0bfb to f64f2af Compare September 13, 2024 08:21
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

What a great day to merge this nice PR. Let's do it!
Prepared branch 14.0-ocabot-merge-pr-1344-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 0a851b8 into OCA:14.0 Sep 13, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 6de4f7d. 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.

7 participants