Execute Script in Account Doctype

Hello everybody.

I am trying to execute a custom script when I create a new Account, I had been trying with some events but not work. What event executes when I press “Create New” button. ?

Thanks for your help.

Can you share what you have tried? [quote=“daniel_chiluisa, post:1, topic:25605”]
What event executes when I press “Create New” button. ?
[/quote]

What do you want to achieve? Details will be helpful.

Check following links it helps you -

https://frappe.github.io/frappe/user/en/tutorial/controllers

https://frappe.github.io/frappe/user/en/guides/basics/hooks

http://frappe.github.io/erpnext/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/