'Run standard methods after `INSERT` or `UPDATE`. Standard Methods are:
- `on_update` for **Save**.
- `on_update`, `on_submit` for **Submit**.
- `on_cancel` for **Cancel**
- `update_after_submit` for **Update after Submit**'

def run_post_save_methods(self):

    if (self._action == u'save'):
        self.run_method(u'on_update')
    elif (self._action == u'submit'):
        self.run_method(u'on_update')
        self.run_method(u'on_submit')
    elif (self._action == u'cancel'):
        self.run_method(u'on_cancel')
        self.check_no_back_links_exist()
    elif (self._action == u'update_after_submit'):
        self.run_method(u'on_update_after_submit')
    self.run_method(u'on_change')
    self.update_timeline_doc()
    self.clear_cache()
    self.notify_update()
    update_global_search(self)
    if (self._doc_before_save and (not self.flags.ignore_version)):
        self.save_version()
    if ((self.doctype, self.name) in frappe.flags.currently_saving):
        frappe.flags.currently_saving.remove((self.doctype, self.name))
    self.latest = None
