Skip to content

Commit

Permalink
Merge pull request #43987 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-43985

fix: removed single quotes from deferred revenue (backport #43985)
  • Loading branch information
sagarvora authored Nov 6, 2024
2 parents ceccd8c + 20033ee commit de0c6f2
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 de0c6f2

Please sign in to comment.