From d4d1fad74c644d410a2dc1c155980be3dbcea640 Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Wed, 29 Dec 2010 13:57:50 +0100 Subject: [PATCH] [FIX] stock: from the upstream/downstream tree view, the Action button gives access to upstream/downstream. lp bug: https://launchpad.net/bugs/695024 fixed bzr revid: vmt@openerp.com-20101229125750-utvbf7gb875gcpv1 --- addons/stock/stock_view.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index a91bbbcfcc5..83d5ac6b310 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -463,6 +463,40 @@ + + Downstream traceability + ir.actions.act_window + stock.move + [('id','in',active_ids)] + tree + + + + + tree_but_action + stock.move + Downstream traceability + + + + + + Upstream traceability + ir.actions.act_window + stock.move + [('id','in',active_ids)] + tree + + + + + tree_but_action + stock.move + Upstream traceability + + + + stock.location.form stock.location