From ad25ff36e86ee3e8a3769049d1bccfabaf7ccec3 Mon Sep 17 00:00:00 2001 From: EyuaelB Date: Sat, 10 Aug 2024 18:36:18 +0300 Subject: [PATCH 1/2] add iso code to region --- g2p_social_registry/models/region.py | 1 + g2p_social_registry/views/region.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/g2p_social_registry/models/region.py b/g2p_social_registry/models/region.py index 59a81ac..87babc4 100644 --- a/g2p_social_registry/models/region.py +++ b/g2p_social_registry/models/region.py @@ -9,3 +9,4 @@ class G2PRegion(models.Model): name = fields.Char() code = fields.Char() + iso_code = fields.Char() \ No newline at end of file diff --git a/g2p_social_registry/views/region.xml b/g2p_social_registry/views/region.xml index 6a7cc68..739c914 100644 --- a/g2p_social_registry/views/region.xml +++ b/g2p_social_registry/views/region.xml @@ -7,6 +7,7 @@ + From 9e62c587edda0158f700a646cd4e1790c8755c58 Mon Sep 17 00:00:00 2001 From: EyuaelB Date: Sat, 10 Aug 2024 18:47:01 +0300 Subject: [PATCH 2/2] region iso code precomit fix --- g2p_social_registry/models/region.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g2p_social_registry/models/region.py b/g2p_social_registry/models/region.py index 87babc4..61d7679 100644 --- a/g2p_social_registry/models/region.py +++ b/g2p_social_registry/models/region.py @@ -9,4 +9,4 @@ class G2PRegion(models.Model): name = fields.Char() code = fields.Char() - iso_code = fields.Char() \ No newline at end of file + iso_code = fields.Char()