diff --git a/hosting/models.py b/hosting/models.py index bfe608de..af16bfb0 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -309,7 +309,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model): else: logger.debug("Neither subscription id nor vm_id available") logger.debug("Can't import invoice") - return + return None instance = cls.objects.create( created=datetime.utcfromtimestamp(