def value_from_object(self, obj, request):
        unbound_meth = self.field._return_type_for_method
        assert unbound_meth.__code__.co_argcount >= 2, (self.name,
                                                         unbound_meth.__code__.co_varnames)
        # print self.field.name
        return unbound_meth(obj, request)

    # def obj2list(self,request,obj):
        # return [self.value_from_object(request,obj)]

    # def obj2dict(self,request,obj,d):
        #  logger.debug('MethodStoreField.obj2dict() %s',self.field.name)
        # d[self.field.name] = self.value_from_object(request,obj)

    # def get_from_form(self,instance,post_data):
        # pass
dataset/ETHPy150Open lsaffre/lino/lino/core/store.py/MethodStoreField.value_from_object/original