fix vm_id default
This commit is contained in:
		
					parent
					
						
							
								a5bd8347e8
							
						
					
				
			
			
				commit
				
					
						3b6c2b9d4e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -72,7 +72,7 @@ class HostingOrder(AssignPermissionsMixin, models.Model):
 | 
				
			||||||
        return self.ORDER_APPROVED_STATUS if self.approved else self.ORDER_DECLINED_STATUS
 | 
					        return self.ORDER_APPROVED_STATUS if self.approved else self.ORDER_DECLINED_STATUS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @classmethod
 | 
					    @classmethod
 | 
				
			||||||
    def create(cls, price=None, vm_id=None, customer=None,
 | 
					    def create(cls, price=None, vm_id=0, customer=None,
 | 
				
			||||||
               billing_address=None, vm_pricing=None):
 | 
					               billing_address=None, vm_pricing=None):
 | 
				
			||||||
        instance = cls.objects.create(
 | 
					        instance = cls.objects.create(
 | 
				
			||||||
            price=price,
 | 
					            price=price,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue