diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-05-08 12:53:36 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-05-08 15:28:02 +0200 |
| commit | ee6e2f57712c8abd4020d09fd0c5cc05a15c6e99 (patch) | |
| tree | 5db5edc2c571613673533c7e1794ee3b72d79a0a /addons | |
| parent | 5c009b5f3149b3221caa088605437b3c4debc726 (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale_timesheet/models/procurement.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 + '<br/>', 'project_id': project.id, 'company_id': self.company_id.id, }) |
