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

chore: fix fetch_if_empty for min_days_bw_disbursement_first_repayment #98

Merged
merged 2 commits into from
Oct 12, 2023
Merged

chore: fix fetch_if_empty for min_days_bw_disbursement_first_repayment #98

merged 2 commits into from
Oct 12, 2023

Conversation

anandbaburajan
Copy link
Contributor

There's a framework bug (related to frappe/frappe#22442) where if a int field with fetch_from and fetch_if_empty is intentionally set as 0, it still fetches the value from the parent doc. This affects the min_days_bw_disbursement_first_repayment field, so manually handling the fetching part in client and server side.

@anandbaburajan
Copy link
Contributor Author

@mergify copy poc-staging

@anandbaburajan anandbaburajan merged commit 08becdd into frappe:develop Oct 12, 2023
4 of 5 checks passed
@mergify
Copy link

mergify bot commented Oct 12, 2023

copy poc-staging

✅ Pull request copies have been created

mergify bot pushed a commit that referenced this pull request Oct 12, 2023
#98)

* chore: fix fetch_if_empty for min_days_bw_disbursement_first_repayment

* chore: min_days_bw_disbursement_first_repayment should be int

(cherry picked from commit 08becdd)
anandbaburajan added a commit that referenced this pull request Oct 12, 2023
#98) (#99)

* chore: fix fetch_if_empty for min_days_bw_disbursement_first_repayment

* chore: min_days_bw_disbursement_first_repayment should be int

(cherry picked from commit 08becdd)

Co-authored-by: Anand Baburajan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant