[FIX] sale_stock: product_id_change_with_wh should not call another method (product_id_change) using super, but self. Otherwise some overrides are lost, leading to issues with event-related products.

This commit is contained in:
Thibault Delavallée 2014-08-08 11:38:57 +02:00
parent 6da3648fd6
commit dea05e6a84
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class sale_order_line(osv.osv):
product_uom_obj = self.pool.get('product.uom')
product_obj = self.pool.get('product.product')
warning = {}
res = super(sale_order_line, self).product_id_change(cr, uid, ids, pricelist, product, qty=qty,
res = self.product_id_change(cr, uid, ids, pricelist, product, qty=qty,
uom=uom, qty_uos=qty_uos, uos=uos, name=name, partner_id=partner_id,
lang=lang, update_tax=update_tax, date_order=date_order, packaging=packaging, fiscal_position=fiscal_position, flag=flag, context=context)