From b112395499b227729904c72d93d1382c3968a377 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Thu, 21 Mar 2019 16:31:53 +0100 Subject: [PATCH] fix boolean --- entity/Offeritem_entity/Offeritem_entity.aod | 1 - .../Product_entity/entityfields/status/possibleItemsProcess.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/entity/Offeritem_entity/Offeritem_entity.aod b/entity/Offeritem_entity/Offeritem_entity.aod index 55968cef25..540a2c31e6 100644 --- a/entity/Offeritem_entity/Offeritem_entity.aod +++ b/entity/Offeritem_entity/Offeritem_entity.aod @@ -54,7 +54,6 @@ <name>OPTIONAL</name> <title>Optional</title> <contentType>BOOLEAN</contentType> - <mandatory v="true" /> <possibleItemsProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/possibleItemsProcess.js</possibleItemsProcess> <valueProcess>%aditoprj%/entity/Offeritem_entity/entityfields/optional/valueProcess.js</valueProcess> </entityField> diff --git a/entity/Product_entity/entityfields/status/possibleItemsProcess.js b/entity/Product_entity/entityfields/status/possibleItemsProcess.js index 2098a9cd17..b88d5392d1 100644 --- a/entity/Product_entity/entityfields/status/possibleItemsProcess.js +++ b/entity/Product_entity/entityfields/status/possibleItemsProcess.js @@ -3,5 +3,5 @@ import("system.result"); result.object([ ["1", translate.text("Yes")] - ,["2", translate.text("No")] + ,["0", translate.text("No")] ]); \ No newline at end of file -- GitLab