Skip to content

Commit

Permalink
fix: Subscription update patch
Browse files Browse the repository at this point in the history
  • Loading branch information
deepeshgarg007 committed Jan 4, 2024
1 parent 351ee5b commit 277dade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
def execute():
subscription = frappe.qb.DocType("Subscription")
frappe.qb.update(subscription).set(
subscription.generate_invoice_at, "Beginning of the currency subscription period"
subscription.generate_invoice_at, "Beginning of the current subscription period"
).where(subscription.generate_invoice_at_period_start == 1).run()

0 comments on commit 277dade

Please sign in to comment.