[FIX] stock: select stockable only

When `stock_account` is not installed, the Inventory Report do not
filter out services or consumable.

opw-1925598

closes odoo/odoo#30742
This commit is contained in:
Nicolas Martinelli
2019-01-31 17:43:33 +00:00
parent 85ada6ff6d
commit 90b6cbde09
@@ -28,6 +28,7 @@ class StockQuantityHistory(models.TransientModel):
'view_mode': 'tree,form',
'name': _('Products'),
'res_model': 'product.product',
'domain': "[('type', '=', 'product')]",
'context': dict(self.env.context, to_date=self.date),
}
return action