feat: add assessment_task_type to ReferenceType choices #139

Merged
xoliqberdiyev merged 1 commits from behruz into main 2026-05-05 12:45:25 +00:00
3 changed files with 18 additions and 13 deletions
Showing only changes of commit cb795fe3b8 - Show all commits

View File

@@ -14,3 +14,4 @@ class ReferenceType(models.TextChoices):
DETERMINED_VALUE = "determined_value", _("Determined value type")
PROPERTY_RIGHTS = "property_rights", _("Property rights")
OWNERSHIP_FORM = "ownership_form", _("Ownership form")
ASSESSMENT_TASK_TYPE = "assessment_task_type", _("Assessment task type")

View File

@@ -0,0 +1,16 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('evaluation', '0044_remove_autoevaluationmodel_car_type_and_more'),
]
operations = [
migrations.AlterField(
model_name='referenceitemmodel',
name='type',
field=models.CharField(choices=[('brand', 'Brand'), ('marka', 'Marka'), ('color', 'Color'), ('fuel_type', 'Fuel type'), ('body_type', 'Body type'), ('car_position', 'Car position'), ('state_car', 'Car state'), ('evaluation_purpose', 'Evaluation purpose'), ('determined_value', 'Determined value type'), ('property_rights', 'Property rights'), ('ownership_form', 'Ownership form'), ('assessment_task_type', 'Assessment task type')], max_length=50, verbose_name='type'),
),
]

View File

@@ -1,13 +1 @@
/v1/auto-evaluation/ field qo'shish va o'zgartirish kerak
object_type => Bu hozirda select. Oshanga value qoshish kerak: bus, moto
car_position => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
distance_covered => Qoshish kerak. Number. Bosib otilgan masofasi
body_type => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
fuel_type => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
state_car => Qoshish kerak. Bu hozirda select. /api/v1/reference-item/ apidan value yuboraman
car_type => manashu field ni olib tashlash kerak
tex_passport_file => multiple qilish kerak
assessment_task_type => Baholash vazifasi. Qoshish kerak. Select boladi. /api/v1/reference-item/ apidan value yuboraman
object_owner_residence => Obyekt egasi yashash joyi. Qoshish kerak. string boladi.
Refrence item model'ga "assessment_task_type" kategoriya qo'shish kerak