Hello, it seems to be true, but not quite.
http://box.magbaby.ua/media/export/15.xmlSee there are 2 products
This
http://box.magbaby.ua/admin/shop/products/22372/edit/it is shown as - out of stock and in the unloading it looks like "available="" - that's right, everything is correct
And here is a product that is also not in any warehouse
http://box.magbaby.ua/admin/shop/products/22779/edit/But it is in the download as available=false , although it should be available="" - so that it says out of stock
We noticed that it passes as available=false, even if the product is not available, if it had some operations in the warehouse
That is, the goods are absolutely identical, but the top one was NEVER accounted for and was not sold, and the bottom one had operations, although it was not already in stock.
As I understand it, the system checks not the current state of the warehouse, but the general one, I don’t know
Please check if it works like this.
Check the availability of goods in the warehouse (selected in the action)
- If there is - true / finish add. checks, everything, the goods are in stock - leave this value
If the product is not in the selected warehouse - check all warehouses
- If there are other warehouses - write "False"
- If not in other warehouses - we write emptiness "".
If you need product examples, please let me know.
I would like to close this issue already :(