Конкретно пересмотрел логику работы. Легаси вынесена в архив
All checks were successful
Deploy MES Core / deploy (push) Successful in 13s
All checks were successful
Deploy MES Core / deploy (push) Successful in 13s
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user