def get_value_text(self, v, obj):
        # v = self.full_value_from_object(None,obj)
        # if isinstance(v,basestring):
            # logger.info("20120109 %s -> %s -> %r",obj,self,v)
        if v is None:
            return (None, None)
        else:
            return (v.pk, str(v))
dataset/ETHPy150Open lsaffre/lino/lino/core/store.py/ForeignKeyStoreField.get_value_text/original