Accumulated depreciation on sale of asset

i have sold an asset and checked the journal in the general ledger. The automatically created accumulated depreciation part of the journal is incorrect. Why is this? I attached screen prints of the journal.

The cost of the asset was £270, accumulated depreciation on the asset ledger for this asset is only £148.48, and the sales invoice prices was £400.

Where does the credit to account 0023 of £715.37 come form?