mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
[Fix] Patch for budget_against
This commit is contained in:
10
erpnext/patches/v7_1/set_budget_against_as_cost_center.py
Normal file
10
erpnext/patches/v7_1/set_budget_against_as_cost_center.py
Normal 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'
|
||||
""")
|
||||
Reference in New Issue
Block a user