def METHOD_NAME(self, vals):
    result = super(Base, self).METHOD_NAME(vals)
    fields = list(vals.keys())
    for record in self:
        self._event("on_record_write").notify(record, fields=fields)
    return result