'Convert ``value`` from the record format to the format returned by
method :meth:`BaseModel.onchange`.
:param fnames: an optional collection of field names to convert
(for relational fields only)'

def convert_to_onchange(self, value, record, fnames=()):

    return self.convert_to_read(value, record)
