To transfer the location of a product that is batch tracked, you will need to create a Stock Transfer.
Go to the Stock Control section and click on New Stock Transfer. Fill in the details as you normally would. Click ‘Save’.

Next, select the batch to apply the stock transfer to. You will be able to choose from all the batches linked to this product, via the dropdown. You can also select your desired quantities from different batches.

Select the batch and click create.

You will now be able to see which batch this stock transfer was applied to. When you have received the stock transfer, click on the ‘Receive’ button and the stock transfer status will change from Active to Received.
If you are unable to assign batches in a stock transfer, please check if you have enabled batch tracking and have batch tracked inventory. For more details, click on this article.