

def full_value_from_object(self, obj, ar):
    v = getattr(ar, self.name, None)
    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/VarMisuse@18/22 `obj`->`ar`