diff --git a/openupgrade_scripts/scripts/hr/16.0.1.1/post-migration.py b/openupgrade_scripts/scripts/hr/16.0.1.1/post-migration.py index 90061d20fc53..d67351fd445d 100644 --- a/openupgrade_scripts/scripts/hr/16.0.1.1/post-migration.py +++ b/openupgrade_scripts/scripts/hr/16.0.1.1/post-migration.py @@ -147,7 +147,7 @@ def create_work_contact(env): "Arbitrarily, the res.partner(%s) (the first one) " "is used for work_contact_id of the hr.employee(%s).", employee.id, - ", ".joins(matching_partner.ids), + ", ".join(str(v) for v in matching_partner.ids), partner.id, employee.id, )