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(payment term): allocate payment amount when payment term is fetched from order #46637

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

Conversation

venkat102
Copy link
Contributor

Issue:
While the payment term is being fetched from the order, the payment amount is not updated based on the invoice value when allocate_payment_based_on_payment_terms in Payment Terms Template and automatically_fetch_payment_terms in Accounts Settings are enabled.
ref: 34461

Before:

payment-term-allocation-issue.mp4

After:

payment-term-allocation-fix.mp4

Backport need for v15 & v14

@ruthra-kumar ruthra-kumar self-assigned this Mar 24, 2025
@ruthra-kumar ruthra-kumar removed the request for review from rohitwaghchaure March 24, 2025 05:33
"paid_amount": schedule.paid_amount,
}

if payment_schedule["invoice_portion"]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System is always proportionally splitting. Better to restrict this behavior to only if Automatically Fetch Payment Terms from Order is enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants