From 90f334d0c1cf6e30710655b278d7888f1c7dc9d8 Mon Sep 17 00:00:00 2001 From: 0xD0M1M0 <76812428+0xD0M1M0@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:54:22 +0100 Subject: [PATCH 1/2] fix: update court list Update court list based on https://www.handelsregister.de/rp_web/normalesuche.xhtml --- erpnext_germany/constants.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/erpnext_germany/constants.py b/erpnext_germany/constants.py index 9ef9be4..47992f2 100644 --- a/erpnext_germany/constants.py +++ b/erpnext_germany/constants.py @@ -1,6 +1,7 @@ # German company register courts REGISTER_COURTS = [ "", # empty string to be able to select nothing + "Aachen", "Altenburg", "Amberg", "Ansbach", @@ -85,7 +86,7 @@ "Lemgo", "Limburg", "Lübeck", - "Ludwigshafen a. Rhein", + "Ludwigshafen a.Rhein (Ludwigshafen)", "Lüneburg", "Mainz", "Mannheim", @@ -105,7 +106,7 @@ "Nordhausen", "Nürnberg", "Offenbach am Main", - "Oldenburg", + "Oldenburg (Oldenburg)", "Osnabrück", "Ottweiler", "Paderborn", @@ -131,11 +132,11 @@ "Stadtroda", "Steinfurt", "Stendal", - "St. Ingbert", + "St. Ingbert (St Ingbert)", "Stralsund", "Straubing", "Stuttgart", - "St. Wendel", + "St. Wendel (St Wendel)", "Suhl", "Tostedt", "Traunstein", From 4887e4b032cec15831a8d9d2a85887207c9da439 Mon Sep 17 00:00:00 2001 From: 0xD0M1M0 <76812428+0xD0M1M0@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:02:52 +0100 Subject: [PATCH 2/2] fix: Remove double naming --- erpnext_germany/constants.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/erpnext_germany/constants.py b/erpnext_germany/constants.py index 47992f2..aedae57 100644 --- a/erpnext_germany/constants.py +++ b/erpnext_germany/constants.py @@ -86,7 +86,7 @@ "Lemgo", "Limburg", "Lübeck", - "Ludwigshafen a.Rhein (Ludwigshafen)", + "Ludwigshafen a. Rhein", "Lüneburg", "Mainz", "Mannheim", @@ -106,7 +106,7 @@ "Nordhausen", "Nürnberg", "Offenbach am Main", - "Oldenburg (Oldenburg)", + "Oldenburg", "Osnabrück", "Ottweiler", "Paderborn", @@ -132,11 +132,11 @@ "Stadtroda", "Steinfurt", "Stendal", - "St. Ingbert (St Ingbert)", + "St. Ingbert", "Stralsund", "Straubing", "Stuttgart", - "St. Wendel (St Wendel)", + "St. Wendel", "Suhl", "Tostedt", "Traunstein",