change sub location id as string

This commit is contained in:
Mohamed Nouffer
2022-09-07 14:53:57 +05:30
parent 82206da4f2
commit 9ad3c3daea
2 changed files with 19 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class SystemSettings(models.Model):
class Location(models.Model):
location_id=models.IntegerField(_('Location id'), blank=True, null=True)
sub_loc_id=models.IntegerField(_('Sub location id'), blank=True, null=True)
sub_loc_id=models.CharField(_('Sub location id'), max_length=2048, blank=True, null=True)
cp=models.FloatField(_('Check Point'), blank=False, null=True, default=0)
location_name=models.CharField(_('Location Name'), max_length=2048, default="--- 場所をお願いします --")
category=models.CharField(_('Category'), max_length=2048, blank=True, null=True)