fix for inline_edit custom field to check for models module