[MERGE] forward port branch 9.0 up to 2f46f3bdb2

This commit is contained in:
Christophe Simonis
2018-03-08 10:50:20 +01:00
@@ -35,6 +35,7 @@ class HrPayslipEmployees(models.TransientModel):
'date_from': from_date,
'date_to': to_date,
'credit_note': run_data.get('credit_note'),
'company_id': emp.company_id.id,
}
payslips += self.env['hr.payslip'].create(res)
payslips.compute_sheet()