Assign person to ToDo custom script

How can I assign ‘george@gmail.com’ user to a Sales Order by ToDo using custom script?

There is a API for that.

/api/method/frappe.desk.form.assign_to.add

1 Like

you can directly assign to any users from Sales Order.

1 Like