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: repayment type according repayment account for Waiver #219

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

Nihantra-Patel
Copy link
Member

@Nihantra-Patel Nihantra-Patel commented Dec 12, 2024

fixes: https://support.frappe.io/helpdesk/tickets/26365

fix the repayment type according repayment account for Waiver

"Security Deposit Adjustment": "security_deposit_account",
}

if not self.payment_account and self.repayment_type in repayment_account_map:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if not self.payment_account and self.repayment_type in repayment_account_map:
if not self.payment_account and repayment_account_map.get(self.repayment_type):

@deepeshgarg007 deepeshgarg007 merged commit e49bdaa into frappe:poc-staging Dec 19, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants