Hi Yuri,
it's not a feature request, but if you can look and say it's possible to refactor somes files for Activities :
application/Espo/Modules/Crm/Tools/Activities/Service.php
line +- 412
and make something so if it's possible of course :
so we are free to add any entity template person to : activities
same in Espo\Modules\Crm\Tools\Lead\ConvertService
so we are free to use convert leads to any entity
I think, in this case, we need to use TemplateType in place of Contact or Lead or ..
I just don't know what kind of templateType is Case or Opportunuity ..
If not possible.. no problem or add in backlog
Best Regards
it's not a feature request, but if you can look and say it's possible to refactor somes files for Activities :
application/Espo/Modules/Crm/Tools/Activities/Service.php
line +- 412
PHP Code:
switch ($entityType) {
case Contact::ENTITY_TYPE:
$link = 'contacts';
break;
case Lead::ENTITY_TYPE:
$link = 'leads';
break;
case User::ENTITY_TYPE:
$link = 'users';
break;
}
and make something so if it's possible of course :
PHP Code:
switch ($entityTemplateType) {
case TEMPLATE:PERSON:
$link = strlower( $entityType ) .'s';
break;
}
same in Espo\Modules\Crm\Tools\Lead\ConvertService
PHP Code:
Contact::ENTITY_TYPE
I think, in this case, we need to use TemplateType in place of Contact or Lead or ..
I just don't know what kind of templateType is Case or Opportunuity ..
If not possible.. no problem or add in backlog
Best Regards
Comment