diff --git a/hr_multi_company/models/hr_payslip_run.py b/hr_multi_company/models/hr_payslip_run.py index 73321e0b..36f17f64 100644 --- a/hr_multi_company/models/hr_payslip_run.py +++ b/hr_multi_company/models/hr_payslip_run.py @@ -30,4 +30,4 @@ class HrPayslipRun(models.Model): company_id = fields.Many2one(comodel_name='res.company', string='Company', copy=False, readonly=True, help="Company od the payslip.", - default=lambda self: self.env.user.company_id) + default=lambda self: self.env.company)