From 88a9a45cf20ffd8afc201f818a451bfeee8ba7d0 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 22 Jan 2015 16:18:51 +0100 Subject: [PATCH] [FIX] warning: missing parameter in super call Complete patch made at 06187405 --- addons/warning/warning.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/warning/warning.py b/addons/warning/warning.py index 28d21a60542..f9b19839b20 100644 --- a/addons/warning/warning.py +++ b/addons/warning/warning.py @@ -255,7 +255,8 @@ class purchase_order_line(osv.osv): return {'value': {'product_id': False}, 'warning': warning} result = super(purchase_order_line, self).onchange_product_id(cr, uid, ids, pricelist, product, qty, uom, - partner_id, date_order=date_order, fiscal_position_id=fiscal_position_id, date_planned=date_planned, name=name, price_unit=price_unit, state=state, context=context) + partner_id, date_order=date_order, fiscal_position_id=fiscal_position_id, date_planned=date_planned, + name=name, price_unit=price_unit, state=state, replace=replace, context=context) if result.get('warning',False): warning['title'] = title and title +' & '+result['warning']['title'] or result['warning']['title']