How do I move a transaction to a different account?

A transaction can be moved from one account to another by taking the following steps:
Right click on the transaction and select "Batch Change->Account" then select the account you want to move the transaction to. If you want to move more than one transaction in one go use ctrl-A to select all or shift select to select a range. And then "Batch Change->Account".