Registered all models
This commit is contained in:
19
techdb/catops/misc/units.py
Normal file
19
techdb/catops/misc/units.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
class RoomLocation(models.TextChoices):
|
||||
STORAGE_1 = "ST1", _("Magazzino")
|
||||
STORAGE_2 = "ST2", _("Deposito Esterno")
|
||||
|
||||
class Units(models.TextChoices):
|
||||
NUM = "QTY", _("Quantity")
|
||||
LT = "LT", _("Liters")
|
||||
USG = "USG", _("US Gallons")
|
||||
QTS = "QTS", _("US Quarters")
|
||||
KG = "KG", _("Kilograms")
|
||||
LBS = "LBS", _("Pounds")
|
||||
|
||||
class MoviDirection(models.TextChoices):
|
||||
LOAD = "LOAD", _("Load")
|
||||
UNLOAD = "UNLOAD", _("UnLoad")
|
||||
|
||||
Reference in New Issue
Block a user