def set_value_in_object(self, ar, instance, v):
        old_value = self.value_from_object(instance, ar.request)
        # old_value = getattr(instance,self.field.attname)
        if old_value != v:
            setattr(instance, self.name, v)
            return True
dataset/ETHPy150Open lsaffre/lino/lino/core/store.py/StoreField.set_value_in_object/original