hunk.code_window:             else:
                   res.append((leave.id, _("Allocation of %s : %.2f day(s) To %s") % (leave.holiday_status_id.name, leave.number_of_days, leave.employee_id.name)))
           return res
       @api.multi
       def add_follower(self, employee_id):
           employee = self.env['hr.employee'].browse(employee_id)
  
hunk.labels: keep replace keep keep keep keep keep
hunk.after_edit:                 target = allocation.employee_id.name
               res.append(
                   (allocation.id,
                    _("Allocation of %s : %.2f %s to %s") %
                    (allocation.holiday_status_id.name,
                     allocation.number_of_hours_display if allocation.type_request_unit == 'hour' else allocation.number_of_days,
                     'hours' if allocation.type_request_unit == 'hour' else 'days',
                     target))
               )
  
hunk.file_path: addons/hr_holidays/models/hr_leave_allocation.py
hunk.type: replace
file: # -*- coding: utf-8 -*-
  
  {
      'name': 'Authorize.Net Payment Acquirer',
      'category': 'Accounting',
      'summary': 'Payment Acquirer: Authorize.net Implementation',
      'version': '1.0',
      'description': """Authorize.Net Payment Acquirer""",
      'depends': ['payment'],
      'data': [
          'views/payment_views.xml',
          'views/payment_authorize_templates.xml',
          'data/payment_acquirer_data.xml',
      ],
      'installable': True,
      'post_init_hook': 'create_missing_journal_for_acquirers',
  }
  