Skip to content
Snippets Groups Projects
Commit dea05e6a authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] sale_stock: product_id_change_with_wh should not call another method...

[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.
parent 6da3648f
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment