forked from uncloud/uncloud
Allow to select billing period when registering VM
This commit is contained in:
parent
5559d600c7
commit
b31aa72f84
4 changed files with 25 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue