From 64165e4f4f35f9449c2c2c16604351c25c5fdd41 Mon Sep 17 00:00:00 2001 From: "S.Leierseder" <S.Leierseder@SLeierseder.aditosoftware.local> Date: Fri, 26 Jul 2019 11:35:15 +0200 Subject: [PATCH] offeritem bug --- entity/Offeritem_entity/entityfields/quantity/valueProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/Offeritem_entity/entityfields/quantity/valueProcess.js b/entity/Offeritem_entity/entityfields/quantity/valueProcess.js index ebd4664e612..72e8e990dec 100644 --- a/entity/Offeritem_entity/entityfields/quantity/valueProcess.js +++ b/entity/Offeritem_entity/entityfields/quantity/valueProcess.js @@ -2,7 +2,7 @@ import("system.vars"); import("system.result"); import("system.neon"); -if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW) +if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null) { result.string("1"); } \ No newline at end of file -- GitLab