Auto generation of code of print format

i am able to create new custom print format, but it is unable to generate source code for it.

frappe version = 15
installed erpnext too
development mode is on

Please set it.

Source code is generated in the JSON format in your custom app.

1 Like

Since you’re mentioning source code, I assume that you’re wanting to script the print format with HTML and CSS? If that’s the case, you need to check “Custom Format”. Then you will get code editor fields in the print format where you can enter your template.

1 Like

Thanks for your reply.
Actually @NCP 's solution worked,

No worries. Glad you got a solution.

1 Like