From 37c805f26f7a536dc16b6427ba1cd0abbfce85bd Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 5 Dec 2014 14:41:30 +0100 Subject: [PATCH] [FIX] purchase: replace company_id widget selection by option no_create For selection fields, name_get calls to resolve the display name are client-side initiated, and will display "Unknown" if the user does not have read access to the selected company. And the reason for using a selection widget in the first place was to prevent inadvertent creation of companies. This is now doable via the no_create option, so we can remove the selection widget. --- addons/purchase/purchase_view.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index 62f7b282c68..301a702c71e 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -224,7 +224,7 @@ - + - + @@ -431,7 +431,7 @@ - + @@ -496,7 +496,7 @@ - +