mirror of https://github.com/zulip/zulip.git
07e99eace9
Fixes two bugs involving organization with exempt_from_license_number_check enabled: 1. If the organization had e.g. 100 users and upgraded their plan, specifying 50 licenses, the generated LicenseLedger and thus the corresponding invoice was still for 100 users. 2. The organization was unable to use the billing/plan endpoint (update plan endpoint) to make their number of licenses less than the current number of users. Organizations with exempt_from_license_number_check are supposed to be able to declare whatever license number they want, as this attribute allows having pricing schemes where an organization only pays us for a subset of their users. |
||
---|---|---|
.. | ||
lib | ||
management | ||
migrations | ||
tests | ||
views | ||
__init__.py | ||
models.py | ||
urls.py |