diff --git a/erpnext/patches/v7_2/set_null_value_to_fields.py b/erpnext/patches/v7_2/set_null_value_to_fields.py index d395d6a156..6388be438d 100644 --- a/erpnext/patches/v7_2/set_null_value_to_fields.py +++ b/erpnext/patches/v7_2/set_null_value_to_fields.py @@ -8,4 +8,4 @@ def execute(): fields = {"Cost Center": "project", "Project": "cost_center"} for budget_against, field in fields.items(): frappe.db.sql(""" update `tabBudget` set {field} = null - where budget_against = %s """.format(field = field), budget_against, debug=1) \ No newline at end of file + where budget_against = %s """.format(field = field), budget_against)