From 697295902c1ffcafb3b624f5aa9929856ce1f636 Mon Sep 17 00:00:00 2001 From: Nikos Tsirintanis Date: Mon, 27 Sep 2021 13:57:59 +0200 Subject: [PATCH] stock-quantity-history-location: Enable selecting a view location in wizard --- .../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 b08741d..7583092 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", ["internal", "transit", "view"])] ) include_child_locations = fields.Boolean("Include child locations", default=True)