update start date alone after restarting subscription

This commit is contained in:
tundebabzy 2018-03-01 09:09:23 +01:00
parent 2a11c18383
commit 7eabbd93e1

View File

@ -277,7 +277,7 @@ class Subscriptions(Document):
subscription but new trial periods will not be allowed.
"""
self.status = 'Active'
self.cancelation_date = None
self.start = nowdate()
self.update_subscription_period(nowdate())
self.invoices = []
self.save()