Help

0

Get id of a new record not saved (odoo.models.NewId object)

Avatar
Julio C. C.

Hi everyone,

i'm working on some improvements related to Projects.

For every project, i have the following field for millestones:

one2many -> milestone_ids

Every milestone, has tasks:

one2many -> project_task_ids

Let's say that, when i'm creating a new millestone (Milestone Test), I can add tasks, but i cannot select a millestone_id for those tasks due to Milestone Test is  not created yet. So the workflow should be, first, create and save every Millestone, and then, for each millestone, add the tasks, but i would like to do this in less steps (creating milestone and tasks in a row)

Avatar
Discard