orocrm/platform — pull request #105 by starikov-kirill (2014-07-24 17:53:54+00:00)
Title: Allowed to choose integer/smallint fields in relation target entity

See this for a brief background: http://www.orocrm.com/forums/topic/custom-entity-relations