I want to fire fuction in every insert to gl_entry

how could i did this?
image


i then run this command

sudo supervisorctl restart all

this could not work with me?!

Are you making changes directly on the server? If so, you only need to run these types of commands. Try running “bench restart” instead

i am in a production mode
and when i click this button accounting ledger the code fire??!
why?


i just fire when insert to gl entry the event is true??!

but this is customization prevent the bulk submit?

Yes, if code is written in a Python file, then it will run based on its conditions.

i want to run as other actions in workflow
mean the bulk sms run for all with submit too like other actions

i want this customization allow the bulk submit how?!
@ejaaz

IMO, it is related to this?

To run a script on form submission, use the on_submit method.
https://frappeframework.com/docs/user/en/basics/doctypes/controllers

the error does not display its recorded in error log?