The bug fix been applied and is available on the Client Statements branch.
I would really like to see this basic feature too.
The solution posted above seems to be developed for server side scripting. Is there a client side solution?
The Jinja solution, altough being server-sided, can be configured in the print format… Or is there a specific reason for a client-side solution?
Client side because prefer to use erpnext.com hosted
This solution is based on a custom print format, which can be implemented on erpnext.com hosted instances without any issue:
I am getting this same error message