-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow for transfer of all licenses in
LicenseTransferJob
.
ENT-8197 | Optionally allow license transfer jobs to transfer all licenses from the old plan to the new plan, regardless of license status.
- Loading branch information
1 parent
8ea5ecd
commit 53274af
Showing
4 changed files
with
95 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ license_manager/conf/locale/messages.mo | |
|
||
# emacs | ||
*~ | ||
.projectile | ||
|
||
# QA | ||
coverage.xml | ||
|
33 changes: 33 additions & 0 deletions
33
license_manager/apps/subscriptions/migrations/0063_transfer_all_licenses.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Generated by Django 4.2.8 on 2024-01-08 14:50 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('subscriptions', '0062_add_license_transfer_job'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='historicallicensetransferjob', | ||
name='transfer_all', | ||
field=models.BooleanField(default=False, help_text='Set to true to transfer ALL licenses from old to new plan, regardless of status.'), | ||
), | ||
migrations.AddField( | ||
model_name='licensetransferjob', | ||
name='transfer_all', | ||
field=models.BooleanField(default=False, help_text='Set to true to transfer ALL licenses from old to new plan, regardless of status.'), | ||
), | ||
migrations.AlterField( | ||
model_name='historicallicensetransferjob', | ||
name='license_uuids_raw', | ||
field=models.TextField(blank=True, help_text='Delimitted (with newlines by default) list of license_uuids to transfer', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='licensetransferjob', | ||
name='license_uuids_raw', | ||
field=models.TextField(blank=True, help_text='Delimitted (with newlines by default) list of license_uuids to transfer', null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters