How to Integrate New App with Erpnext ? By hooks.py

Hi Everyone,
I have created a new App with doctype as Measurement Sheet where performing some of calculation function. After Submission, I have created “make button option” for Purchase Invoice ( erpnext) in new app(Measurement Sheet). The integration of new app and erpnext is not working eventhough i have tried by hooks.py. Can anyone Suggest me steps for integration a doctype in new app with purchase invoice in erpnext??

Thanks in advance,
Saranya A.

1 Like