UPDATE `llx_extrafields` SET `type` = 'int', `size` = '10', `pos` = '100', `param` = 'a:1:{s:7:"options";a:1:{s:0:"";N;}}', `fieldcomputed` = '(($resql = $db->query(''select stock_available from llx_product p where p.rowid = ''.($obj->id ? $obj->id : ($obj->rowid ? $obj->rowid : $object->id))))? (($objsql = $db->fetch_object($resql))?$objsql->stock_available:0) :0)' WHERE `llx_extrafields`.`name` = 'stock_available';
