From 08ed48e24c69d9873137143cf2484cb706d17199 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Thu, 18 Aug 2016 12:25:31 +0200 Subject: [PATCH] [FIX] stock,purchase: stop shortening picking type names In purchase, a special key is set in the context to simplify the name of the picking type: instead of the normal name, only the name of the warehouse is used. This is problematic if more than one incoming picking type exists for a given warehouse, as it prevents you from being able to differentiate them. Asking users to modify the view to remove the context key seem a bit too much to ask for something that should be simple. It is my understanding that this was implemented only for cosmetic reasons, but I am willing to assume that having to select "YourCompany: Delivery Orders" instead of simply "YourCompany" for people who only have one picking type should not be too disruptive or obscure. opw-685751 --- addons/purchase/purchase_view.xml | 2 +- addons/stock/stock.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index cf55d63ae7c..87b07efc054 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -225,7 +225,7 @@ - +