diff --git a/addons/hr_holidays/report/hr_leave_reports.xml b/addons/hr_holidays/report/hr_leave_reports.xml
index bbcec40a97d..efe3f81b668 100644
--- a/addons/hr_holidays/report/hr_leave_reports.xml
+++ b/addons/hr_holidays/report/hr_leave_reports.xml
@@ -109,6 +109,7 @@
code
+
action = model.action_time_off_analysis()
diff --git a/addons/stock/views/stock_quant_views.xml b/addons/stock/views/stock_quant_views.xml
index 10a674cdde6..ac9bf1e8993 100644
--- a/addons/stock/views/stock_quant_views.xml
+++ b/addons/stock/views/stock_quant_views.xml
@@ -160,6 +160,7 @@
Inventory
code
+
action = model.with_context(
search_default_internal_loc=1,