mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
fix: Reload doctypes
This commit is contained in:
@@ -2,6 +2,11 @@ import frappe
|
|||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
|
||||||
|
frappe.reload_doc('loan_management', 'doctype', 'loan')
|
||||||
|
frappe.reload_doc('loan_management', 'doctype', 'loan_disbursement')
|
||||||
|
frappe.reload_doc('loan_management', 'doctype', 'loan_repayment')
|
||||||
|
|
||||||
ld = frappe.qb.DocType("Loan Disbursement").as_("ld")
|
ld = frappe.qb.DocType("Loan Disbursement").as_("ld")
|
||||||
lr = frappe.qb.DocType("Loan Repayment").as_("lr")
|
lr = frappe.qb.DocType("Loan Repayment").as_("lr")
|
||||||
loan = frappe.qb.DocType("Loan")
|
loan = frappe.qb.DocType("Loan")
|
||||||
|
|||||||
Reference in New Issue
Block a user