Task instead of Project Task!

Hello,
Can anybody answer this? Its very urgent to me…
How the rows are get inserted in to ‘Task" table instead of "Project task’ in ‘Project’ doctype?

1 Like

@Amalendu

Project Task is not stored in Project Task table. Project Task only saved in Task table.

When one load Project, All task is fetched related to that project using get_task() and appended to project_task child table.

When you save project, sync_task() is used to update or create task.

& here is important thing, after sync and before save, all project task is cleared, so task will never stored into project_task child table

2 Likes

@kolate_sambhaji Thank You so much…
Understood the flow…

1 Like