Average cost price when stock quantity is negative
The re-computation method should also take care of negative stock quantity the same way as move. Indeed it make an average using negative quantities instead of ignoring cost for negative quantity.
The computation on move does not take care of the case if the resulted quantity is still negative but only if the starting stock quantity is negative. It will be good to have the unit price if it was an incoming and keep the previous cost price.