Stock aging report issue

any one can help me in this error while opening “Stock aging report”

See this note Stock Ageing Report - TypeError: ‘<’ not supported between instances of ‘int’ and ‘str’ - #5 by clarkej

edit: This PR is pending review to commit to version-12-hotfix fix: report convert string numeric to flt value by clarkejj · Pull Request #22457 · frappe/erpnext · GitHub