From eda2f064cffd0389cac5f5eb49b92516fda3e34e Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Mon, 28 Jul 2014 09:35:25 +0200 Subject: [PATCH] [FIX] stock: backport of rev 0a6d63b --- addons/mrp/mrp_view.xml | 29 +++- addons/product/product_view.xml | 267 +++++++++++++++----------------- 2 files changed, 153 insertions(+), 143 deletions(-) diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 464a7032ed2..fdc234c6d54 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -422,7 +422,8 @@ - + + @@ -1033,12 +1034,19 @@ id="menu_mrp_production_order_action" name="Order Planning" parent="menu_mrp_planning" sequence="1"/> - + {'default_product_tmpl_id': active_id, 'search_default_product_tmpl_id': active_id} Bill of Materials mrp.bom form + + {'default_product_id': active_id, 'search_default_product_id': active_id} + Bill of Materials + mrp.bom + form + + {'search_default_product_id': [active_id]} Manufacturing Orders @@ -1048,10 +1056,23 @@ product.template.procurement product.template - +
- +
+
+
+ + product.product.procurement + product.product + + +
+ diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index b7d746c023f..fecaa91ded4 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -40,8 +40,9 @@ + - product.template.product.form + product.template.common.form product.template
@@ -128,14 +129,6 @@ - - - - - - - -
@@ -146,48 +139,27 @@ - - Product.template.product.kanban - product.template + + product.product.search + product.product + primary + - - - - - -
- -
-

- - - -

-
-
    -
  • Price:
  • -
-
-
- - - + + + + + + + + + + + + - - Products - ir.actions.act_window - product.template - kanban,tree,form - form - - - - - @@ -212,31 +184,123 @@ {'default_product_tmpl_id': active_id} - + + Product Variants + ir.actions.act_window + product.product + tree,form,kanban + form + + +

+ Click to define a new product. +

+ You must define a product for everything you buy or sell, + whether it's a physical product, a consumable or service. +

+
+
+ + Product Variants + ir.actions.act_window + product.product + tree,form,kanban + form + {'search_default_product_tmpl_id': [active_id], 'default_product_tmpl_id': active_id} + + +

+ Click to define a new product. +

+ You must define a product for everything you buy or sell, + whether it's a physical product, a consumable or service. +

+
+
- - - product.product.search - product.product + + + product.template.product.form + product.template primary - + + - - - - - - - - - - - + + Product Template + + + +
+ +
+ + + + + + +
+ + Product.template.product.kanban + product.template + + + + + + + + + +
+ +
+

+ + + +

+ + Variants + +
+
    +
  • Price:
  • +
+
+
+ + + + + + + + Products + ir.actions.act_window + product.template + kanban,tree,form + form + + + + + + + + + product.product.tree product.product @@ -278,8 +342,6 @@ - - @@ -300,79 +362,6 @@ - - Product Variants - ir.actions.act_window - product.product - tree,form,kanban - form - - -

- Click to define a new product. -

- You must define a product for everything you buy or sell, - whether it's a physical product, a consumable or service. -

-
-
- - - - - Product Variants - ir.actions.act_window - product.product - tree,form,kanban - form - {'search_default_product_tmpl_id': [active_id], 'default_product_tmpl_id': active_id} - - -

- Click to define a new product. -

- You must define a product for everything you buy or sell, - whether it's a physical product, a consumable or service. -

-
-
- - - product.template.form - product.template - - - -
- -
-
-
-
- - - product.template.form - product.template - - - - - - - -

- - Variants - -

-
-
- - - Product Variants ir.actions.act_window