Customization of Ticket PRIORITY_CHOICES in project settings

This commit is contained in:
Sam Splunks
2024-01-22 14:30:44 +00:00
parent a50065e768
commit 3537ec7447
2 changed files with 15 additions and 7 deletions

View File

@ -477,13 +477,7 @@ class Ticket(models.Model):
(DUPLICATE_STATUS, _('Duplicate')),
)
PRIORITY_CHOICES = (
(1, _('1. Critical')),
(2, _('2. High')),
(3, _('3. Normal')),
(4, _('4. Low')),
(5, _('5. Very Low')),
)
PRIORITY_CHOICES = helpdesk_settings.PRIORITY_CHOICES
title = models.CharField(
_('Title'),