Add depends_on relation on orders
This commit is contained in:
parent
d794b24c86
commit
65440ab2ef
4 changed files with 36 additions and 3 deletions
|
|
@ -174,7 +174,8 @@ class VMProductViewSet(ProductViewSet):
|
|||
disk_order = Order.from_product(
|
||||
disk,
|
||||
recurring_period=order_recurring_period,
|
||||
starting_date=timezone.now()
|
||||
starting_date=timezone.now(),
|
||||
depends_on=vm_order
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue