reload budget doctype in patch

This commit is contained in:
Nabin Hait 2016-05-18 12:42:57 +05:30
parent ca90963d5b
commit d9117cb726

View File

@ -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,