hunk.code_window:         if context is None:
               context = {}
           result = super(mail_compose_message, self).default_get(cr, uid, fields, context=context)
           # v6.1 compatibility mode
           result['composition_mode'] = result.get('composition_mode', context.get('mail.compose.message.mode'))
           result['model'] = result.get('model', context.get('active_model'))
           result['res_id'] = result.get('res_id', context.get('active_id'))
           result['parent_id'] = result.get('parent_id', context.get('message_id'))
           # default values according to composition mode - NOTE: reply is deprecated, fall back on comment
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:         result['composition_mode'] = result.get('composition_mode', context.get('mail.compose.message.mode', 'comment'))
  
hunk.file_path: addons/mail/wizard/mail_compose_message.py
hunk.type: replace
file: # HG changeset patch
  # Parent 11a30af5c0c80b15a2bbad562ef3a580ee99fb3b
  
  diff --git a/controllers/academy.py b/controllers/academy.py
  --- a/controllers/academy.py
  +++ b/controllers/academy.py
  @@ -6,4 +6,9 @@ from openerp.addons.web.controllers impo
   class academy(main.Home):
       @http.route('/', auth='none')
       def index(self):
  -        return "Hello, world!"
  +        return """<!doctype html>
  +<link href="/web/static/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  +<body class="container">
  +    Hello, world!
  +</body>
  +"""
  