delete mathod qoshildi
This commit is contained in:
@@ -48,7 +48,8 @@ class CategoryModel(AbstractBaseModel):
|
||||
order = models.PositiveIntegerField(verbose_name=_("order"), default=0)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.name} ({self.type})"
|
||||
filial_name = self.filial.name if self.filial else "Filial yo'q"
|
||||
return f"{self.name} ({self.type}) - {filial_name}"
|
||||
|
||||
@classmethod
|
||||
def _baker(cls):
|
||||
|
||||
Reference in New Issue
Block a user