Fix work order catalog migration seed
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
VPN SaaS Dev
2026-05-16 10:54:33 +09:00
parent 545f4d088d
commit 3e406aeb22

View File

@@ -62,6 +62,7 @@ def upgrade() -> None:
"title": "Замена моторного масла",
"category": "maintenance",
"work_type": "maintenance",
"product_type": None,
"unit": "job",
"default_quantity": 1,
"default_unit_price": 0,
@@ -73,6 +74,7 @@ def upgrade() -> None:
"title": "Компьютерная диагностика",
"category": "diagnostics",
"work_type": "diagnostics",
"product_type": None,
"unit": "job",
"default_quantity": 1,
"default_unit_price": 0,
@@ -84,6 +86,7 @@ def upgrade() -> None:
"title": "Замена тормозных колодок",
"category": "brakes",
"work_type": "repair",
"product_type": None,
"unit": "job",
"default_quantity": 1,
"default_unit_price": 0,
@@ -94,6 +97,7 @@ def upgrade() -> None:
"item_type": "product",
"title": "Масляный фильтр",
"category": "filter",
"work_type": None,
"product_type": "part",
"unit": "pcs",
"default_quantity": 1,
@@ -105,6 +109,7 @@ def upgrade() -> None:
"item_type": "product",
"title": "Тормозная жидкость",
"category": "brake_fluid",
"work_type": None,
"product_type": "fluid",
"unit": "l",
"default_quantity": 1,