Hi @imbra,
Please go to the hook.py file and added it.
doctype_js = {"Item Price" : "public/js/item_price.js"}
Then go to the your_custom_app/public/js/ and create a item_price.js file and added a code.
Then reload (Ctrl + Shift + R) and check it.
Thank You!