modules/ISTRN/models/Field.php
<?php
/**
* Field Class for ISTRN.
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
* @author Radosław Skrzypczak <r.skrzypczak@yetiforce.com>
*/
class ISTRN_Field_Model extends Vtiger_Field_Model
{
public function isAjaxEditable()
{
$edit = parent::isAjaxEditable();
if ($edit && 'istrn_status' === $this->getName()) {
$edit = false;
}
return $edit;
}
}