alyf-de/erpnext_pdf-on-submit

Draft Status

zaabi1995 opened this issue · 1 comments

Dear, thank you for your support, i have noticed that when a pdf is created, it is always created on a draft status, is this intentional?

Hi @zaabi1995, this is due to the fact that the on_submit hook is executed while the document is still in draft. There is no after_submit hook yet (available hooks). A workaround is to disable the "DRAFT" notice altogether, via print settings.

Closing this as it cannot be fixed, currently.