Upgradeable ERC20 token with partial burn on transfer

A post was split to a new topic: Is there a way to add burn function to deployed ERC20 token?