From 02970847f4ee2308737a361238516046b9b6ee9b Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 13 Feb 2023 23:46:30 +0100 Subject: [PATCH] stock_usability: add simple stock.quant tree view (readonly) without JS Add a button from stock.location to access simple stock.quant tree view --- stock_usability/views/stock_location.xml | 10 ++++++++++ stock_usability/views/stock_quant.xml | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/stock_usability/views/stock_location.xml b/stock_usability/views/stock_location.xml index f38251a..f35d6b1 100644 --- a/stock_usability/views/stock_location.xml +++ b/stock_usability/views/stock_location.xml @@ -30,12 +30,22 @@ {'default_location_id': active_id, 'search_default_location_id': active_id} + + Quants + stock.quant + [('location_id', 'child_of', active_ids)] + + + stock.usability.stock.location.form stock.location
+