Allow to select billing period when registering VM

This commit is contained in:
fnux 2020-03-03 10:14:56 +01:00
commit b31aa72f84
4 changed files with 25 additions and 5 deletions

View file

@ -299,5 +299,9 @@ class Product(models.Model):
def setup_fee(self):
return 0
@property
def recurring_period(self):
return self.order.recurring_period
class Meta:
abstract = True