mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-20 09:56:31 +00:00
reload budget doctype in patch
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc("accounts", "doctype", "budget")
|
||||
frappe.reload_doc("accounts", "doctype", "budget_account")
|
||||
|
||||
existing_budgets = frappe.db.sql("""
|
||||
select
|
||||
cc.name, cc.company, cc.distribution_id,
|
||||
|
||||
Reference in New Issue
Block a user