From 69e636b4e74c44287f127c24afae19ac7ee1a386 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Mon, 19 Feb 2024 16:16:43 +0100
Subject: [PATCH] [UPD] address wizard view

---
 wizard/scop_address_wizard.xml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/wizard/scop_address_wizard.xml b/wizard/scop_address_wizard.xml
index f7f966c..abd1d6e 100644
--- a/wizard/scop_address_wizard.xml
+++ b/wizard/scop_address_wizard.xml
@@ -69,8 +69,18 @@
                                 placeholder="Cedex"
                                 class="o_address_city"
                             />
-                            <field name="state_id" placeholder="État" invisible="1" />
-                            <field name="country_id" placeholder="Pays" invisible="1" />
+                            <field
+                                name="state_id"
+                                placeholder="Région"
+                                required="1"
+                                options="{'no_open': True, 'no_create': True}"
+                            />
+                            <field
+                                name="country_id"
+                                placeholder="Pays"
+                                required="1"
+                                options="{'no_open': True, 'no_create': True}"
+                            />
                             <field
                                 name="ur_id"
                                 required="1"
-- 
GitLab