Call back action for sales order submit

How we call custom script after sales order submit??

More description will be helpful.

Do you know create sales order for two actions will perform?

  1. Save
  2. Submit
    We need to call custom script after submit action.

This might be a useful thread to read through

for custom script (in js)
use on_submit

in py side you can use on_submit, before_submit, before_update_after_submit
as per your requirement - Check Hooks Event Here