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: consistent query field name in item wise purchase register with item wise sales register (backport #41927) #41928

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 17, 2024

The get_tax_accounts function was using the invoice_item.name field, which caused an issue in the purchase register because the item name was aliased as pii_item_name. This discrepancy led to taxes not being calculated correctly in the purchase register. This PR fixes the aliasing issue to ensure proper tax calculation.

Changes Made

  • Removed alias

Impact

  • Accurate tax calculations in the item-wise purchase register.

Testing

  • Verified that taxes are now calculated correctly in both item-wise sales and purchase registers.Item wise purchase rigster report uses same function as item wise sales register.

Support Issue:


This is an automatic backport of pull request #41927 done by [Mergify](https://mergify.com).

…item wise sales register

(cherry picked from commit 6d539e0)
@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Jun 17, 2024
@rohitwaghchaure rohitwaghchaure merged commit db7fb7d into version-15-hotfix Jun 17, 2024
12 checks passed
@rohitwaghchaure rohitwaghchaure deleted the mergify/bp/version-15-hotfix/pr-41927 branch June 17, 2024 11:23
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.27.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-tests This PR needs automated unit-tests. released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants