summaryrefslogtreecommitdiff
path: root/addons/stock
diff options
context:
space:
mode:
authorAdrien Widart <awt@odoo.com>2021-04-20 09:46:29 +0000
committerAdrien Widart <awt@odoo.com>2021-04-20 09:58:41 +0000
commitaaf8192180846162ebacf3309ca8fb06677e520d (patch)
tree01bb4f22e678979f2ae6d2efe5e23c3817690b0b /addons/stock
parentc7a4cca4a082af7c6b33a70d4b19e700e4d487e7 (diff)
[FIX] stock: make warehouse list scrollable
On a product's Forecasted Report page, if the company has a lot of warehouses, when the user opens the drop-down list to select another warehouse, the list will exceeds the window height and won't be scrollable. The user will have to zoom out to see the rest of the list. `o_dropdown_menu` class is used to add required attributes: https://github.com/odoo/odoo/blob/a622936ab09497086f43715e546a1b33418d0ee3/addons/web/static/src/scss/dropdown_menu.scss#L7-L8 OPW-2480784 closes odoo/odoo#69523 Signed-off-by: Rémy Voet <ryv-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/stock')
-rw-r--r--addons/stock/static/src/xml/report_stock_forecasted.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/static/src/xml/report_stock_forecasted.xml b/addons/stock/static/src/xml/report_stock_forecasted.xml
index 5dacd847e6d..7b6240b3f3c 100644
--- a/addons/stock/static/src/xml/report_stock_forecasted.xml
+++ b/addons/stock/static/src/xml/report_stock_forecasted.xml
@@ -14,7 +14,7 @@
data-toggle="dropdown">
<span class="fa fa-home"/> Warehouse: <t t-esc="active_warehouse['name']"/>
</button>
- <div class="dropdown-menu o_filter_menu" role="menu">
+ <div class="dropdown-menu o_dropdown_menu o_filter_menu" role="menu">
<t t-foreach="warehouses" t-as="wh">
<a role="menuitem" class="dropdown-item warehouse_filter"
data-filter="warehouses" t-att-data-warehouse-id="wh['id']"