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

[FIX] account_invoice_fixed_discount: Fixed devision by zero error to… #1860

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

Conversation

fd-oerp
Copy link

@fd-oerp fd-oerp commented Dec 6, 2024

… v17.0

Case: When an invoice line includes a product with a unit price of 0 and a fixed discount is applied (even by mistake), it results in a traceback error.

Sometimes users may not be aware of the proper configurations for applying discounts. If this occurs, the system prevents further entry and shows a traceback.

This scenario has already been addressed in sale_fixed_discount previously.

@fd-oerp
Copy link
Author

fd-oerp commented Dec 6, 2024

Hi @JordiBForgeFlow

Could you please review this PR and let me know any updates are needed from my end ?

I see the failed checks but seems it's related other module, Please advice!

image

Thank you

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.

1 participant