hunk.code_window:                 partner_id = self.env['project.task'].browse(vals['task_id']).partner_id.id
               else:
                   partner_id = self.env['project.project'].browse(vals['project_id']).partner_id.id
               if partner_id:
                   vals['partner_id'] = partner_id
           return vals
       @api.multi
       def _timesheet_postprocess(self, values):
           """ Hook to update record one by one according to the values of a `write` or a `create`. """
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:         # set timesheet UoM from the employee company (employee implies uom)
           if 'product_uom_id' not in vals and all([v in vals for v in ['employee_id', 'project_id']]):  # project_id required to check this is timesheet flow
               employee = self.env['hr.employee'].sudo().browse(vals['employee_id'])
               vals['product_uom_id'] = employee.company_id.project_time_mode_id.id
  
hunk.file_path: addons/hr_timesheet/models/hr_timesheet.py
hunk.type: add
file: # Translation of Odoo Server.
  # This file contains the translation of the following modules:
  # * base_import_module
  # 
  # Translators:
  # Martin Trigaux <mat@odoo.com>, 2017
  msgid ""
  msgstr ""
  "Project-Id-Version: Odoo Server 11.0\n"
  "Report-Msgid-Bugs-To: \n"
  "POT-Creation-Date: 2017-10-24 09:00+0000\n"
  "PO-Revision-Date: 2017-10-24 09:00+0000\n"
  "Last-Translator: Martin Trigaux <mat@odoo.com>, 2017\n"
  "Language-Team: English (United Kingdom) (https://www.transifex.com/odoo/teams/41243/en_GB/)\n"
  "MIME-Version: 1.0\n"
  "Content-Type: text/plain; charset=UTF-8\n"
  "Content-Transfer-Encoding: \n"
  "Language: en_GB\n"
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  
  #. module: base_import_module
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Cancel"
  msgstr "Cancel"
  
  #. module: base_import_module
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Close"
  msgstr ""
  
  #. module: base_import_module
  #: code:addons/base_import_module/controllers/main.py:31
  #, python-format
  msgid "Could not select database '%s'"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_create_uid
  msgid "Created by"
  msgstr "Created by"
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_create_date
  msgid "Created on"
  msgstr "Created on"
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_display_name
  msgid "Display Name"
  msgstr "Display Name"
  
  #. module: base_import_module
  #: code:addons/base_import_module/models/ir_module.py:112
  #, python-format
  msgid "File '%s' exceed maximum allowed file size"
  msgstr ""
  
  #. module: base_import_module
  #: code:addons/base_import_module/models/ir_module.py:104
  #, python-format
  msgid "File is not a zip file!"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_force
  msgid "Force init"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,help:base_import_module.field_base_import_module_force
  msgid ""
  "Force init mode even if installed. (will update `noupdate='1'` records)"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_id
  msgid "ID"
  msgstr "ID"
  
  #. module: base_import_module
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Import App"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_import_message
  msgid "Import Message"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.actions.act_window,name:base_import_module.action_view_base_module_import
  #: model:ir.model,name:base_import_module.model_base_import_module
  #: model:ir.ui.menu,name:base_import_module.menu_view_base_module_import
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Import Module"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Import module"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_ir_module_module_imported
  msgid "Imported Module"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module___last_update
  msgid "Last Modified on"
  msgstr "Last Modified on"
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_write_uid
  msgid "Last Updated by"
  msgstr "Last Updated by"
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_write_date
  msgid "Last Updated on"
  msgstr "Last Updated on"
  
  #. module: base_import_module
  #: model:ir.model,name:base_import_module.model_ir_module_module
  msgid "Module"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_module_file
  msgid "Module .ZIP file"
  msgstr ""
  
  #. module: base_import_module
  #: code:addons/base_import_module/models/ir_module.py:102
  #, python-format
  msgid "No file sent."
  msgstr ""
  
  #. module: base_import_module
  #: code:addons/base_import_module/controllers/main.py:25
  #, python-format
  msgid "Only administrators can upload a module"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Open Modules"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.ui.view,arch_db:base_import_module.view_base_module_import
  msgid "Select module package to import (.zip file):"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model.fields,field_description:base_import_module.field_base_import_module_state
  msgid "Status"
  msgstr "Status"
  
  #. module: base_import_module
  #: code:addons/base_import_module/models/ir_module.py:40
  #: code:addons/base_import_module/models/ir_module.py:47
  #, python-format
  msgid "Studio customizations require Studio"
  msgstr ""
  
  #. module: base_import_module
  #: code:addons/base_import_module/models/ir_module.py:42
  #, python-format
  msgid "Unmet module dependencies: %s"
  msgstr ""
  
  #. module: base_import_module
  #: selection:base.import.module,state:0
  msgid "done"
  msgstr ""
  
  #. module: base_import_module
  #: selection:base.import.module,state:0
  msgid "init"
  msgstr ""
  
  #. module: base_import_module
  #: model:ir.model,name:base_import_module.model_ir_ui_view
  msgid "ir.ui.view"
  msgstr ""
  