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: incorrect sales invoice status set if rounding adjustment is set #27992

Closed

Conversation

nextchamp-saqib
Copy link
Member

Introduced with #27625

Case:
due_date = any_future_date

grand_total = 499.5
rounding_adjustment = 0.5
rounded_total = 500
oustanding_amount = 500

with the above values, the status of the invoice is set as Overdue because,
is_overdue returns True since grand_total - outstanding_amount is negative

@nextchamp-saqib
Copy link
Member Author

Already being worked on with #27921

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant