From 311ffbc8fa67c0a5a9c8d88fe3b46cb05a9a4eba Mon Sep 17 00:00:00 2001 From: lfreeke Date: Sun, 10 Nov 2024 16:47:44 +0100 Subject: [PATCH] [16.0][IMP] stock_quantity_history_location: add usage view --- .../wizards/stock_quantity_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_quantity_history_location/wizards/stock_quantity_history.py b/stock_quantity_history_location/wizards/stock_quantity_history.py index 9e754ba25..cfcd92c95 100644 --- a/stock_quantity_history_location/wizards/stock_quantity_history.py +++ b/stock_quantity_history_location/wizards/stock_quantity_history.py @@ -11,7 +11,7 @@ class StockQuantityHistory(models.TransientModel): _inherit = "stock.quantity.history" location_id = fields.Many2one( - "stock.location", domain=[("usage", "in", ["internal", "transit"])] + "stock.location", domain=[("usage", "in", ["view", "internal", "transit"])] ) include_child_locations = fields.Boolean(default=True)