Under these conditions you don’t have cost of goods sold, you just have nett proceeds. Therefore upon disposal just change the custom income / expenses accounts for the Inventory Item to the same account.
If you forget to amend, no problem they will be highlighted in the “Stock Trades Clearing” section.