This looks like a bug that was introduced with Version 5.0. I checked version 4.51g and you were able to clear this field by clicking on the "Clear" button that was visible when the Users popup was displayed. This button no longer exists in Version 5.0.
You can fix by adding this line of code in the modules\Users\EditView.html file
Code:
<input type="button" name="btn_clr_reports_to" tabindex="1" title="Clear [Alt+C]" accessKey="C" class="button" onclick="this.form.reports_to_id.value = ''; this.form.reports_to_name.value = '';" value="Clear">
so that the table row that shows the Reports To field looks like this (around line 322 in Sugar 5 GA)
Code:
<tr>
<td class="dataLabel"><slot>{MOD.LBL_REPORTS_TO}</slot></td>
<td class="dataField"><slot><input type="text" readonly="readonly" tabindex='5' name="reports_to_name" id="reports_to_name" value="{REPORTS_TO_NAME}" />
<input type="hidden" name="reports_to_id" id="reports_to_id" value="{REPORTS_TO_ID}" tabindex="240"/>
<input type="button" name="btn_clr_reports_to" tabindex="1" title="Clear [Alt+C]" accessKey="C" class="button" onclick="this.form.reports_to_id.value = ''; this.form.reports_to_name.value = '';" value="Clear">
{REPORTS_TO_CHANGE_BUTTON}</slot></td>
<td class="dataLabel"><slot>{MOD.LBL_OTHER_PHONE}</slot></td>
<td class="dataField"><slot><input name='phone_other' type="text" tabindex='6' size='20' maxlength='25' value='{PHONE_OTHER}'></slot></td>
</tr>
I reported this as a bug. You can follow progress on this using this link.
http://www.sugarcrm.com/crm/?option=...4-4778c0f6d7fc
Bookmarks