From b414e05a41bfcdbff09ac46a6fcabce480f87181 Mon Sep 17 00:00:00 2001 From: Josse Colpaert Date: Mon, 30 Jun 2014 09:26:49 +0200 Subject: [PATCH] [IMP] Adapt views of product template start --- addons/mrp/mrp_view.xml | 20 ++++++-------------- addons/stock/product_view.xml | 15 +++++++++++++++ 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index fe20552d0fa..27f39a7bdc9 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -546,20 +546,6 @@ - - - product.product.form.view.inherited - product.product - - - - - - product.form.mrp.inherited @@ -569,6 +555,12 @@ + + diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index 3b9ac4053fa..c22429017e7 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -16,6 +16,21 @@ + + product.template.stock.tree.inherit + product.template + + + + {'red':virtual_available<0, 'blue':virtual_available>=0 and state in ('draft', 'end', 'obsolete'), 'black':virtual_available>=0 and state not in ('draft', 'end', 'obsolete')} + + + + + + + + Receptions stock.move