diff --git a/addons/account_analytic_default/account_analytic_default_view.xml b/addons/account_analytic_default/account_analytic_default_view.xml
index ff09fb4b0db..d2b6a13d046 100644
--- a/addons/account_analytic_default/account_analytic_default_view.xml
+++ b/addons/account_analytic_default/account_analytic_default_view.xml
@@ -68,6 +68,22 @@
{"search_default_current":1}
+
+
+ Analytic Defaults
+ account.analytic.default
+ {'search_default_product_id': [active_id], 'default_product_id': active_id}
+
+
+ product.product.stock.move
+ product.product
+
+
+
+
+
+
+
-
-
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 00e8369e6b7..a09697edf65 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -980,26 +980,6 @@
-
-
-
-
@@ -1034,21 +1014,33 @@
id="menu_mrp_production_order_action" name="Order Planning"
parent="menu_mrp_planning" sequence="1"/>
-
+
+ BoM Structure
+ {'default_product_id': active_id}
+ [('product_id', 'in', active_ids),('bom_id','=',False)]
+ mrp.bom
+
{'default_product_id': active_id, 'search_default_product_id': active_id}
Bill of Materials
[('bom_id','=',False)]
mrp.bom
-
+
+ {'search_default_product_id': [active_id]}
+ Manufacturing Orders
+ mrp.production
+
+
product.product.procurement
product.product
-
+
+
+
diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml
index a59838a3a01..4082c4cd12b 100644
--- a/addons/procurement/procurement_view.xml
+++ b/addons/procurement/procurement_view.xml
@@ -312,11 +312,13 @@
product.product.procurement
product.product
-
+
+
+
+
-
-
+
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index fad90d3fc3d..8ba730567e2 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -492,15 +492,6 @@
-
-
-
On Purchase Order Lines
ir.actions.act_window
@@ -613,12 +604,20 @@
-
+
+ {'search_default_product_id': active_id, 'default_product_id': active_id}
+ Purchases
+ purchase.order.line
+
+
product.account.purchase.ok.form.inherit
product.product
+
+
+
@@ -627,6 +626,5 @@
-
diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml
index 18fdb739923..6eac8e085c1 100644
--- a/addons/sale/sale_view.xml
+++ b/addons/sale/sale_view.xml
@@ -538,15 +538,22 @@
[('invoiced','<>', 1),('state','=','done')]
-
-
-
+
+ {'search_default_product_id': active_id, 'default_product_id': active_id}
+ Sales Order Lines
+ sale.order.line
+
+
+
+ product.product.sale.order
+ product.product
+
+
+
+
+
+
+
diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml
index 594843eff8d..dc80c0f950a 100644
--- a/addons/stock/product_view.xml
+++ b/addons/stock/product_view.xml
@@ -68,6 +68,10 @@
product.product
+
+
+
+
@@ -88,13 +92,16 @@
-
+
+
+
-
-
+
+
+
diff --git a/addons/stock/report/report_stock_view.xml b/addons/stock/report/report_stock_view.xml
index f56d738636d..e8bb6621355 100644
--- a/addons/stock/report/report_stock_view.xml
+++ b/addons/stock/report/report_stock_view.xml
@@ -2,13 +2,6 @@
-
-
+
+ {'product_id': active_id}
+ Stock by Location
+ stock.location
+
+
+ {'search_default_done': 1,'search_default_product_id': active_id, 'default_product_id': active_id}
+ Moves
+ stock.move
+
Location Structure
stock.location
@@ -1562,21 +1572,6 @@
res_model="product.product"
src_model="stock.location"/>
-
-
-
-
tree_but_open
stock.location