From c69b51b8d65ee43f51e9067cdce51b01dcc61973 Mon Sep 17 00:00:00 2001 From: oihane Date: Wed, 5 Aug 2015 13:18:59 +0200 Subject: [PATCH] [IMP] more changes --- mrp_production_partner_note/models/procurement_order.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrp_production_partner_note/models/procurement_order.py b/mrp_production_partner_note/models/procurement_order.py index 30bd362cd..5229e13f0 100644 --- a/mrp_production_partner_note/models/procurement_order.py +++ b/mrp_production_partner_note/models/procurement_order.py @@ -15,8 +15,8 @@ class ProcurementOrder(models.Model): sale_proc = procurement.move_dest_id.procurement_id mrp_notes = sale_proc.sale_line_id.order_id.partner_id.mrp_notes if mrp_notes: - res['notes'] = ( + old = ( res.get('notes') and ('{other}\n'.format(other=res.get('notes', ''))) or '') - res['notes'] += '{mine}'.format(mine=mrp_notes) + res['notes'] = '{old}{mine}'.format(old=old, mine=mrp_notes) return res