[Fix] Patch for budget_against

This commit is contained in:
Manas Solanki
2016-12-07 18:19:34 +05:30
parent 2e0fbdeebe
commit 482fa672c2
3 changed files with 63 additions and 38 deletions

View File

@@ -0,0 +1,10 @@
import frappe
def execute():
frappe.reload_doc("account", "doctype", "budget")
frappe.db.sql("""
update
`tabBudget`
set
budget_against = 'Cost Center'
""")