[IMP] stock: don't group_by location when clicking on Quantity On Hand

This commit is contained in:
Pratima Gupta
2017-09-11 18:18:35 -07:00
committed by Joren Van Onder
parent 0f7d2d7cf7
commit 06c4a707ee
+1 -1
View File
@@ -516,7 +516,7 @@ class ProductTemplate(models.Model):
products = self.mapped('product_variant_ids')
action = self.env.ref('stock.product_open_quants').read()[0]
action['domain'] = [('product_id', 'in', products.ids)]
action['context'] = {'search_default_locationgroup': 1, 'search_default_internal_loc': 1}
action['context'] = {'search_default_internal_loc': 1}
return action
@api.multi