mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	billing: Don't require data to add to legacy plan.
This commit is contained in:
		@@ -2620,7 +2620,11 @@ class BillingSession(ABC):
 | 
			
		||||
            **legacy_plan_params,
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        try:
 | 
			
		||||
            billed_licenses = self.get_billable_licenses_for_customer(customer, legacy_plan.tier)
 | 
			
		||||
        except MissingDataError:
 | 
			
		||||
            billed_licenses = 0
 | 
			
		||||
 | 
			
		||||
        # Create a ledger entry for the legacy plan for tracking purposes.
 | 
			
		||||
        ledger_entry = LicenseLedger.objects.create(
 | 
			
		||||
            plan=legacy_plan,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user