the problem repeats, here is the order where there are 5 goods, 2 are written off, after correcting the field shipped, I added 2, but the fifth one was marked as Shipped and is not written off
https://vmk.crm-onebox.com/admin/customorder/order/124630/edit/item 37681
after the errors were corrected, I selected 3 not written off products and did the action to write off, but they were not written off, and the product 37681 appeared Shipped 1, I selected the remaining 2 and managed to write them off on the second attempt, but this product has Shipped 1, but it is out of stock process is not written off.