Skip to content

Commit

Permalink
fix: removed single quotes from deferred revenue (#43985)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nihantra-Patel authored Nov 6, 2024
1 parent 30954ed commit 834d188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/accounts/deferred_revenue.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def build_conditions(process_type, account, company):
)

if account:
conditions += f"AND {deferred_account}='{frappe.db.escape(account)}'"
conditions += f"AND {deferred_account}={frappe.db.escape(account)}"
elif company:
conditions += f"AND p.company = {frappe.db.escape(company)}"

Expand Down

0 comments on commit 834d188

Please sign in to comment.