bemade_fsm: fix new task from template wizard

This commit is contained in:
Marc Durepos 2024-06-20 12:54:05 -04:00
parent 6a1cfa2ec9
commit 8410bb64d7

View file

@ -101,7 +101,7 @@ class TaskTemplate(models.Model):
"equipment_ids": (
[Command.set(self.equipment_ids.ids)] if self.equipment_ids else False
),
"partner_id": partner_id,
"partner_id": partner_id.id,
"company_id": self.company_id.id,
}
return vals