Skip to content
Snippets Groups Projects
Commit 713edc32 authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[FIX] condition on wrong field

parent fcf7271e
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ class ProjectTask(models.Model):
project_id = self.env["project.project"].browse(
self.env.context["default_project_id"]
)
if project_id.exists().membre_ids:
if project_id.exists().porteurs_projets_ids:
participant_ids = project_id.porteurs_projets_ids.mapped(lambda p: (0, 0, {
"porteur_id": p.porteur_id.id,
"lastname": p.lastname,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment