fix: multiple minor fixes

This commit is contained in:
khushi8112
2025-11-20 12:18:03 +05:30
parent acec1a7a9d
commit c3ff5e3748
4 changed files with 11 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ def migrate_single_budget(budget_name):
if not account_rows:
return
frappe.db.delete("Budget Account", {"parent": budget_doc.name})
frappe.db.delete("Budget Account", filters={"parent": budget_doc.name})
percentage_allocations = get_percentage_allocations(budget_doc)