From ee6e2f57712c8abd4020d09fd0c5cc05a15c6e99 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Mon, 8 May 2017 12:53:36 +0200 Subject: [PATCH] [FIX] sale_timesheet: new line in task description Task description is a HTML field, therefore the new line should be defined thanks to a line break. opw-741240 --- addons/sale_timesheet/models/procurement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_timesheet/models/procurement.py b/addons/sale_timesheet/models/procurement.py index 26383584fd1..571b109ae8a 100644 --- a/addons/sale_timesheet/models/procurement.py +++ b/addons/sale_timesheet/models/procurement.py @@ -71,7 +71,7 @@ class ProcurementOrder(models.Model): 'partner_id': self.sale_line_id.order_id.partner_id.id or self.partner_dest_id.id, 'user_id': self.env.uid, 'procurement_id': self.id, - 'description': self.name + '\n', + 'description': self.name + '
', 'project_id': project.id, 'company_id': self.company_id.id, })