Skip to content
Browse files

[FIX] sale_timesheet: multi line sale description in task

Task description does not consider the new line and so
on, on task generation from a Sales order.

Closes #37014

closes #37798

Signed-off-by: Jérome Maes (jem) <>
  • Loading branch information...
MohsenWaleed authored and jem-odoo committed Sep 17, 2019
1 parent 698a4d5 commit 09bbc036d4c1a54f95d8025c01b510e8ba0c8d0f
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/sale_timesheet/models/
@@ -6,7 +6,7 @@
from odoo.exceptions import ValidationError
from odoo.osv import expression
from import safe_eval
from import float_is_zero
from import float_is_zero, plaintext2html

class SaleOrder(models.Model):
@@ -223,7 +223,7 @@ def _timesheet_create_task_prepare_values(self):
'planned_hours': planned_hours,
'remaining_hours': planned_hours,
'description': + '<br/>',
'description': plaintext2html( if else False,

0 comments on commit 09bbc03

Please sign in to comment.
You can’t perform that action at this time.