Merge pull request #28003 from frappe/mergify/bp/develop/pr-27867

fix: Totals row incorrect value in GL Entry (backport #27867)