I changed the function in models orderstatus.php to
function renderOSList($value,$name = 'order_status',$multiple=FALSE,$attrs='',$langkey='',$empty_opt='TRUE'){
$idA = $id = $name;
$attrs .= ' class="inputbox" ';
if ($multiple) {
$attrs .= ' multiple="multiple" ';
if(empty($langkey)) $langkey = 'COM_VIRTUEMART_DRDOWN_SELECT_SOME_OPTIONS';
$attrs .= ' data-placeholder="'.vmText::_($langkey).'"';
$idA .= '[]';
} else {
if(empty($langkey)) $langkey = 'COM_VIRTUEMART_LIST_EMPTY_OPTION';
}
if(is_array($value)){
$hashValue = implode($value);
} else {
$hashValue = $value;
}
$hash = md5($hashValue.$name.$attrs);
if (!isset($this->_renderStatusList[$hash])) {
$orderStates = $this->getOrderStatusNames();
if ($empty_opt) {
$emptyOption = JHtml::_ ('select.option', -1, vmText::_ ($langkey), 'order_status_code', 'order_status_name');
array_unshift ($orderStates, $emptyOption);
}
if ($multiple) {
$attrs .=' size="'.count($orderStates).'" ';
}
$this->_renderStatusList[$hash] = JHtml::_('select.genericlist', $orderStates, $idA, $attrs, 'order_status_code', 'order_status_name', $value,$id,true);
}
return $this->_renderStatusList[$hash] ;
}
and in view.html.php of administrator view product I changed line 197 to:
$lists['OrderStatus'] = $orderstatusModel->renderOSList($order_status,'order_status',TRUE,'','',FALSE);
Works for me. Please test if it bothers you.