1. Here I have created a test order
https://baza.cn.ua/admin/customorder/order/48166/edit/In the order, I tried to make a return for this product 62600 (code)
Confirmed that nothing was added
Here is a subprocess
https://baza.cn.ua/admin/customorder/order/48168/edit/ (I deleted it)
There are no products
Try to understand this order (test)
I added 2 items to my order.
The second product with the code 61036 (there are 2 of them, maybe try to choose 1 piece first and make a return and check)
Also I did another test
Before ordering above, I made this order
https://baza.cn.ua/admin/customorder/order/48163/edit/ (the order was marked deleted)
For this order, I tried to make a return at the initial stage and everything worked out
Everything worked as it should
Made a return 1
https://baza.cn.ua/admin/customorder/order/48164/edit/And return 2
https://baza.cn.ua/admin/customorder/order/48165/edit/After that, I realized that the problems begin when the goods have already been shipped and therefore I have already created the following test order (which is higher
https://baza.cn.ua/admin/customorder/order/48166/edit/ )
Perhaps when you do tests on it, everything will also work there, since I returned the goods there
In general, try and understand
2. During testing, I ran into an old bug
In progress
https://baza.cn.ua/admin/customorder/order/48166/edit/The system was transferred to the same stage twice
See the story "Viconano → Turn the goods to the warehouse → Turn the goods to the warehouse → Turn the costi"
That is, twice transferred to the stage "Turn the goods to the warehouse"
Please see why the system makes such a gross error and correct
As a result, there is some kind of nonsense in the remnants and breaks
Here is the product
https://baza.cn.ua/admin/shop/products/62600/storage/Show that there are 2 returns in a row for the process 48166
The same trouble for the product
https://baza.cn.ua/admin/shop/products/61036/storage/ from the same order