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

[IMP] purchase_discount: Discount < 100% constraint on product supplierinfo #2590

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

Conversation

giarve
Copy link

@giarve giarve commented Mar 3, 2025

Should be blocking the user from setting an invalid discount before it is propagated to (MTO in the worst case) POs and the message from the PO is not as descriptive:

"Discount must be lower than 100%" <--- how do you know where this comes from a SO with all discounts set to 0? It does not make sense. Therefore, the proposed solution is even better blocking the user when the deed is wrongly done at first.

@giarve giarve changed the title [IMP] purchase_discount: Discount < 100% constraint on product suppli… [IMP] purchase_discount: Discount < 100% constraint on product supplierinfo Mar 3, 2025
Copy link
Contributor

@legalsylvain legalsylvain 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

Sorry @legalsylvain you are not allowed to merge.

To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons.

If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the maintainers key of its manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants