Конкретно пересмотрел логику работы. Легаси вынесена в архив
All checks were successful
Deploy MES Core / deploy (push) Successful in 13s

This commit is contained in:
2026-04-13 07:36:57 +03:00
parent 86215c9fa8
commit 28537447f8
80 changed files with 10246 additions and 684 deletions

View File

@@ -57,9 +57,11 @@ def receive_transfer(transfer_id: int, receiver_id: int) -> None:
StockItem.objects.create(
material=src.material,
entity=src.entity,
deal=src.deal,
location_id=tr.to_location_id,
quantity=float(ln.quantity),
is_remnant=src.is_remnant,
is_customer_supplied=src.is_customer_supplied,
current_length=src.current_length,
current_width=src.current_width,
)