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: deduct advances adjusted for threshold check for tcs #43271

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ljain112
Copy link
Contributor

TCS is deducting twice in sales invoice if advance payment is received from a customer and then the sales invoice is booked separately.

The typical use case is
Sales Invoice - 400
Advance Payment Entry = 300
Advance Payment Entry Adjusted - 100
Threshhold - 500

Before
Chargeble Amount = 400+300 -500 = 200

After
Chargeble Amount = 400+300-100-500 = 100

closes: #42001
Frappe Support Issue: https://support.frappe.io/app/hd-ticket/20142

@ljain112 ljain112 marked this pull request as draft September 18, 2024 11:28
@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Sep 18, 2024
@ljain112 ljain112 marked this pull request as ready for review September 18, 2024 13:01
@ljain112 ljain112 force-pushed the fix-tcs branch 2 times, most recently from cb0f389 to 4f106e2 Compare September 26, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCS calculation is not working
1 participant