Put Instructions on Each Page?

So I have an odd request. I was wondering if it was possible to add instructions on each doctype.

For example, let’s say I have a Sales Order doctype. I want it to say somewhere on the page that you can convert this Sales Order to a Sales Invoice or Purchase Order and this is how you do it.

Any help is appreciated.

in your custom app , in hook.py file you can add your logic in js file
for example . and this have list calander tree views also , you will see
#include js in doctype views
#doctype_js = {“doctype” : “public/js/doctype.js”}
you can add this for delivery note for example , and this code will be executed there .
doctype_js = {“Delivery Note” : “public/js/deliver_note.js”}
and you can make dom changes add html , run a wizard library etc … inside public/js/deliver_note.js
i wrote inside it
frappe.ui.form.on(‘Delivery Note’, {

each time i open the dn i see this alert
or something to change dom of alert
frappe.ui.form.on(‘Delivery Note’, {



Where is the hook.py file located?

in your custom app you fine a file called hook.py
you can refer to docs Apps

So actually what I ended up doing is creating a new doctype with some images and HTML fields. I then put a link to those instructions in the doctype I wanted.

The instructions explained all the fields and the purpose of the doctype and what actions you could perform.