Hi,
That's indeed the case.
We will change the behavior to delete the address only if it's not used in another order and the address was already deleted by the user himself (when a user deletes an address which he used in an order, the address is kept unpublished so that it's still attached to the order even though it's not in the user addresses list).
If you change the line
return parent::delete($elements);
to
$data = $this->get($elements);
if(!$order || !$data->address_published){
return parent::delete($elements);
}
in the function delete near the line 150 of the file administrator/components/com_hikashop/classes/address.php that should fix the problem. Please let us know if it works now. If so, we will include the correction in the next release.