/**
  * @see parent::updatePlainFields()
  */
 function updatePlainFields()
 {
     parent::updatePlainFields();
     $this->completeField("group_id");
     if (!$this->group_id) {
         $this->group_id = CProductStockGroup::getHostGroup();
     }
 }