Sorry - my bad - I thought about qffield.
I see that it won't work, because display callback cache is loaded by get_val - unsetting in $desc has no effect. Also there is recurrence call guard, so it won't work at all.
You may do something like this, but without tests I see that you'll get !! recurrence issue !! message.
$tab = Utils_RecordBrowser::$rb_obj->tab;
// load callback methods cache
Utils_RecordBrowserCommon::display_callback_cache($tab);
// store original
$orig = Utils_RecordBrowserCommon::$display_callback_table[$desc['field']];
unset(Utils_RecordBrowserCommon::$display_callback_table[$desc['field']]);
$ret = Utils_RecordBrowserCommon::get_val($tab, $desc['id'], $record, $nolink, $desc);
Utils_RecordBrowserCommon::$display_callback_table[$desc['field']] = $orig;
return $ret;
I don't like this code and we'll be refactoring RB slowly to get rid of this mess.
We have to split default display to a separate function.
Regards,
Adam