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

Function _get_price_with_pricelist should not mess with discounts if there are not rules #1657

Open
cstevanatonehos opened this issue Jan 30, 2024 · 0 comments
Labels

Comments

@cstevanatonehos
Copy link

cstevanatonehos commented Jan 30, 2024

Module

account_invoice_pricelist

Describe the bug

If there are no rules in my pricelist, when setted on an invoice and editing a line, I should not see discount go from a value to 0.0

To Reproduce

Affected versions: 14.0

Expected behavior
I expect a rule to exist before setting the discount at 0 or calculating it

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

No branches or pull requests

1 participant