def get_widgets(self, resource, context): return [x for x in Table_EditRecord.get_widgets(self, resource, context) \ if x.name not in self.cant_edit_fields]