mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
update start date alone after restarting subscription
This commit is contained in:
@@ -277,7 +277,7 @@ class Subscriptions(Document):
|
|||||||
subscription but new trial periods will not be allowed.
|
subscription but new trial periods will not be allowed.
|
||||||
"""
|
"""
|
||||||
self.status = 'Active'
|
self.status = 'Active'
|
||||||
self.cancelation_date = None
|
self.start = nowdate()
|
||||||
self.update_subscription_period(nowdate())
|
self.update_subscription_period(nowdate())
|
||||||
self.invoices = []
|
self.invoices = []
|
||||||
self.save()
|
self.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user