[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
This commit is contained in:
Nicolas Martinelli
2017-05-08 15:28:02 +02:00
parent 5c009b5f31
commit ee6e2f5771
+1 -1
View File
@@ -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 + '<br/>',
'project_id': project.id,
'company_id': self.company_id.id,
})