Change company abbreviation

I have setup a company, added employees, vouchers have been created, payroll generated. now the company has decided to change the abbreviation. i cannot find an option to change.

Once you create a company with an abbreviation, you can’t change it. If you want to make a change, you may need to review the abbreviation logic and run the patch.

1 Like

can you please guide about this patch

https://frappeframework.com/docs/user/en/database-migrations#writing-a-patch
this may help

https://www.youtube.com/watch?v=kfQzS3nrYEU @aurangzeb
Note
when i try this
frappe.db.set_value("Company","the Company","abbr","new abbr")
all the account still have the old abbr but when create new account it take the new abbr