The balances are searched for in all warehouses, if there is a quantity of 0, and the product in the card is shown In stock,
then it is taken from the field
https://prnt.sc/vpphxm and then
1) if there is text, it will turn into 0, but then after that the value of the Available checkbox will be taken, and eventually the quantity will be 1;
2) if there is a number, this number will be transferred