Hi,
I've got a fix for it - it's the form created for the quickcreate ajax form setting the parent type and id as the contact (via the return module definition). You can set this to be the account by setting it to the parent type and id proper.
Edit the two files:
modules/Calls/tpls/QuickCreate.tpl and
modules/Meetings/tpls/QuickCreate.tpl
and find the sections in both:
Code:
<input type="hidden" name="parent_id" value="{$REQUEST.return_id}">
<input type="hidden" name="parent_type" value="{$REQUEST.return_module}"> and replace with:
Code:
<input type="hidden" name="parent_id" value="{$REQUEST.parent_id}">
<input type="hidden" name="parent_type" value="{$REQUEST.parent_type}"> PLEASE TEST THIS!
By changing the definition for the Calls and Meetings quickcreate - it also effects creating calls and meetings against other possible types. E.g. creating calls against leads and bugs etc. I've tested against the situations we might use and it appears to work OK. HOWEVER, get it tested in your environment to make sure it doesn't set the parent incorrectly. If it does, then it might be simpler to set the two $_REQUEST variables within the appropriate EditView.php files within various conditions to make sure it only occurs when creating calls and meetings for contacts.
Bookmarks