bemade_addons: for template tasks, don't copy the sale line description if this is a sub-task.
This commit is contained in:
parent
399694d692
commit
617abd2067
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class SaleOrderLine(models.Model):
|
|||
"""
|
||||
vals = self._timesheet_create_task_prepare_values(project)
|
||||
vals['name'] = template.name
|
||||
vals['description'] = template.description or vals['description']
|
||||
vals['description'] = template.description or '' if parent else vals['description']
|
||||
vals['parent_id'] = parent and parent.id
|
||||
vals['user_ids'] = template.assignees.ids
|
||||
vals['tag_ids'] = template.tags.ids
|
||||
|
|
|
|||
Loading…
Reference in a new issue