set create a new customer command from doctypes to pass anything from customer field. #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When clicking create a new customer from the customer search field on a doctype like a sales order the create command should pop up the new customer form with whatever was in the search box as the name for the customer being created. Also, when create new customer is clicked the new customer should be assigned to the doctype the form was spauned from.
The default customer quick entry form already does this so we should just need to copy what is being done there.
Achieved this by added route options logic. Basically, catches the doctype and customer name value from search when the quick entry form is spawned.