Fix for CRM-10206, set readonly custom field using api