I created a new project and selected a customer.
When I open the project and create a timesheet, the customer and project is not automatically selected. User has to do the selection manually which is prone to errors.
How can I ensure that the customer and project is automatically selected?
If you are trying to use the + icon to create a timesheet from a project, and the project and customer details are not set, then you have to apply the client script in the project doctype.