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

feat: Removes the oblitation of having one default payment mode #42996

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

devdiogenes
Copy link

Currently, inside POS Profile, it's required to mark some mode of payment as default. If we don't, the system doesn't allow the saving of the profile.

image

There is not reason for this validation exists, I think it's better if it's better if it's up to the user.

The advantage is that if the profile be configured without any default payment method, it will prevent situations which the sales user forgets to change the payment method, because the system will block submit and the user will be forced to choose the correct payment method.

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Aug 30, 2024
Copy link

stale bot commented Sep 15, 2024

This pull request has been automatically marked as inactive because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.

@stale stale bot added the inactive label Sep 15, 2024
@devdiogenes
Copy link
Author

Waiting review

@stale stale bot removed the inactive label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant