Error getting while click the print button

Hi all,

I am getting error when i click on the print button… It is standard print and it working fir other doctypes but not working for this doctype only. I attached my screenshot… Please help


Looks like that somehow are you setting your document name as an integer!

May in your autoname function you are not formating the field to string!