hunk.code_window:         compiled = self._compile_directives(el, options)
           el.attrib['t-else'] = '_t_skip_else_'
           return compiled
       def _compile_directive_if(self, el, options):
           orelse = []
           next_el = el.getnext()
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:     def _compile_directive_elif(self, el, options):
           _elif = el.attrib.pop('t-elif')
           if _elif == '_t_skip_else_':
               return []
           if not options.pop('t_if', None):
               raise ValueError("t-elif directive must be preceded by t-if directive")
           el.attrib['t-if'] = _elif
           compiled = self._compile_directive_if(el, options)
           el.attrib['t-elif'] = '_t_skip_else_'
           return compiled
  
hunk.file_path: odoo/addons/base/ir/ir_qweb/qweb.py
hunk.type: add
file: -
    Copy of event.
  -
    !python {model: event.event, id: event_2}: |
      self.copy()
  -
    Copy of event registration.
  -
    !python {model: event.registration, id: reg_1_1}: |
      self.copy()
  