odoo/odoo#153607

Created by Ronak Purohit (ropu)
Merged at 3b05e35a523e553f69067f5aebd8a42856500b0d

Statuses:

label
odoo-dev:saas-16.4-project-sharing-subtask-ropu
head
70784efef314d4e68a01013cd47082152088b481
merged
2 years ago by Fun Services, Vincent Larcin (vila)
odoo/odoo
saas-16.4 #153607
17.0 #168034
saas-17.1 #168057
saas-17.2 #168076
saas-17.3 #168083
saas-17.4 #175164

[FIX] project: fixes subtask stage and empty display name

In this PR fixes following bugs:
- Subtasks don't set by-default to the configured stage. users have to manually
set it after saving.
- Expected: stages by default set upon creation.
- the task name goes empty after selecting a project, even if you rewrite it and
switch projects. This only happens in the Quick Add feature in the kanban
view after enabling timesheets in the project settings.

task-3706741

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr