I have some fields without the label. When printing their label shows up as “None”. I added this code to the print format of the doctype. I made it a custom format and added it to the HTML section.
Not working for me hence I said not working. I read the previous comments and hence did change to jinja, this works for a few fields, after which the whole none thing begins repeating.
I can’t magically find out why its not working. Provide screenshot of your code and the preview of the print format so that we have something to look at.