- The `CRM Telephony Agent` doctype requires the field `user` (not `agent`) as per its schema (`reqd: 1` + `autoname: field:user`). - This fixes the `ValidationError: User is required` by using the correct field name when creating a new agent.
- The `CRM Telephony Agent` doctype requires the field `user` (not `agent`) as per its schema (`reqd: 1` + `autoname: field:user`). - This fixes the `ValidationError: User is required` by using the correct field name when creating a new agent.