def full_value_from_object(self, obj, ar):
        v = getattr(obj, self.name, None)
        # logger.info("20130611 full_value_from_object() %s",v)
        if v is None:
            return ''
        if ar is None:
            return str(v)
        if ar.renderer is None:
            return str(v)
        return ar.obj2html(v)
dataset/ETHPy150Open lsaffre/lino/lino/core/store.py/GenericForeignKeyField.full_value_from_object/original