orocrm/platform — pull request #108 by starikov-kirill (2014-07-29 11:18:46+00:00)
Title: Allowed to choose integer/smallint fields in relation fields

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