From 89b73c85a93e10a2eabf84ca6dab545c1b0bd786 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Fri, 15 Mar 2019 10:54:42 +0100
Subject: [PATCH] fix stateprocess for ChooseAddress in Offer

---
 .../Offer_entity/entityfields/chosenaddress/stateProcess.js   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/entity/Offer_entity/entityfields/chosenaddress/stateProcess.js b/entity/Offer_entity/entityfields/chosenaddress/stateProcess.js
index 5ef79888bb3..8553fd8936f 100644
--- a/entity/Offer_entity/entityfields/chosenaddress/stateProcess.js
+++ b/entity/Offer_entity/entityfields/chosenaddress/stateProcess.js
@@ -3,4 +3,6 @@ import("system.result");
 import("system.neon");
 
 if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW)
-    result.string(neon.COMPONENTSTATE_INVISIBLE);
\ No newline at end of file
+    result.string(neon.COMPONENTSTATE_INVISIBLE);
+else
+    result.string(neon.COMPONENTSTATE_EDITABLE);
\ No newline at end of file
-- 
GitLab