

def full_value_from_object(self, obj, ar):
    d = dict()
    for name in self.store.actor.disabled_fields(obj, ar):
        if (pk is not None):
            d[str(name)] = True
    for name in self.always_disabled:
        d[str(name)] = True
    if (ar.bound_action.action.disable_primary_key and (self.store.pk is not None)):
        for pk in self.store.primary_keys:
            d[str(pk.attname)] = True
    return d

dataset/ETHPy150Open lsaffre/lino/lino/core/store.py DisabledFieldsStoreField.full_value_from_object/VarMisuse@40/46 `name`->`pk`