changeset de95a246129a in modules/party:default
details: https://hg.tryton.org/modules/party?cmd=changeset&node=de95a246129a
description:
        Do not use selection widget for country and subdivision

        Since issue11599 the flag in front of the name prevents to match the 
name when
        typing on keyboard.
        But also the selection matching prevents also to match with the codes 
which is
        a convenient way to quickly select a record.

        issue11677
        review417931003
diffstat:

 view/address_form.xml        |  4 ++--
 view/address_form_simple.xml |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 9179eb2862a5 -r de95a246129a view/address_form.xml
--- a/view/address_form.xml     Tue May 31 10:13:13 2022 +0200
+++ b/view/address_form.xml     Tue Sep 13 00:16:27 2022 +0200
@@ -28,9 +28,9 @@
             <field name="city"/>
             <newline/>
             <label name="country"/>
-            <field name="country" widget="selection"/>
+            <field name="country"/>
             <label name="subdivision"/>
-            <field name="subdivision" widget="selection"/>
+            <field name="subdivision"/>
         </page>
         <page name="identifiers">
             <field name="identifiers" colspan="4" pre_validate="1" 
view_ids="party.identifier_list_sequence"/>
diff -r 9179eb2862a5 -r de95a246129a view/address_form_simple.xml
--- a/view/address_form_simple.xml      Tue May 31 10:13:13 2022 +0200
+++ b/view/address_form_simple.xml      Tue Sep 13 00:16:27 2022 +0200
@@ -27,7 +27,7 @@
     <field name="city"/>
     <newline/>
     <label name="country"/>
-    <field name="country" widget="selection"/>
+    <field name="country"/>
     <label name="subdivision"/>
-    <field name="subdivision" widget="selection"/>
+    <field name="subdivision"/>
 </form>

Reply via email to