Skip to Content
Menu
This question has been flagged
1 Reply
846 Views

Hello , i have add task form view in my project management system in odoo version 15 in this i have one milestone select m2o field for assign milestone to task. In milestone i want one list view in which i want to display milestone_id wise tasks . For example i have 3 milestone 1-2-3 so one click on milestone 1 user can see all tasks assigned to milestone 1.


How can i achive this ?

Avatar
Discard
Best Answer

Hello,

Add one One2many field in the milestone.

for example.

task_ids = fields.One2many("project.task", "milestone_id")

milestone_id is the field as same as that you have added in the task.

Avatar
Discard