chore: reload doctypes

This commit is contained in:
Deepesh Garg
2022-10-31 10:39:03 +05:30
parent d2aea0cd2e
commit 50bc7785f7
3 changed files with 5 additions and 2 deletions

View File

@@ -434,7 +434,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2022-10-01 10:36:47.902903",
"modified": "2022-11-01 10:36:47.902903",
"modified_by": "Administrator",
"module": "Loan Management",
"name": "Loan",

View File

@@ -182,7 +182,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2022-10-22 17:43:03.954201",
"modified": "2022-11-01 17:43:03.954201",
"modified_by": "Administrator",
"module": "Loan Management",
"name": "Loan Type",

View File

@@ -2,6 +2,9 @@ import frappe
def execute():
frappe.reload_doc("loan_management", "doctype", "loan")
frappe.reload_doc("loan_management", "doctype", "loan_type")
loan = frappe.qb.DocType("Loan")
loan_type = frappe.qb.DocType("Loan Type")