[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user