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: wrong buying amount if delivered and billed qty varies (backport #40386) #40597

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Mar 21, 2024

Currently, get_buying_amount_from_so_dn, fetches the total amount.
But if the qty is different in delivery note and sales invoice, the amount returned will be wrong.

Fix: Fetch the rate instead of amount and multiply by the invoiced qty.


This is an automatic backport of pull request #40386 done by Mergify.

@ruthra-kumar ruthra-kumar merged commit 7344296 into version-15-hotfix Mar 22, 2024
12 checks passed
@ruthra-kumar ruthra-kumar deleted the mergify/bp/version-15-hotfix/pr-40386 branch March 22, 2024 03:34
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.18.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants