For each Project, I have a list of Stages that needs to be created. For each of those Stages, I will also have Tasks... From python, how do I link Stages to Project?
Currently, in a module that inherit from "project.project", I simply do:
self.env['project.task.type'].create({'name': stage_name})
I've seen that stage model have a 'project_ids' field but I don't succeed to append to it from python.
Any help will be appreciated