[FIX] hr_timesheet: create a sub task When creating a sub task, the field default_parent_id is set in the context. When a sub task is created, a mail.compose.message was created with the same context. So the default parent_id set in the context (for a project.task record) was used to create the message and an error was raised in function get_record_data.
[FIX] hr_timesheet: create a sub task
When creating a sub task, the field default_parent_id is set in
the context. When a sub task is created, a mail.compose.message
was created with the same context. So the default parent_id set in the context
(for a project.task record) was used to create the message and an error was
raised in function get_record_data.

opw:749435

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo