From 35098fde8a6928af7ee50195e4ea0d883c38cd57 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Thu, 7 Mar 2019 16:19:53 +0100 Subject: [PATCH] Preisformat --- entity/Product_entity/Product_entity.aod | 2 ++ entity/Productprice_entity/Productprice_entity.aod | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/entity/Product_entity/Product_entity.aod b/entity/Product_entity/Product_entity.aod index d2902bb898..a30ac9f67e 100644 --- a/entity/Product_entity/Product_entity.aod +++ b/entity/Product_entity/Product_entity.aod @@ -64,6 +64,8 @@ <entityField> <name>currentPurchasePriceId</name> <title>Curr. purchase price</title> + <contentType>NUMBER</contentType> + <outputFormat>#,##0.00 €</outputFormat> <state>READONLY</state> <valueProcess>%aditoprj%/entity/Product_entity/entityfields/currentpurchasepriceid/valueProcess.js</valueProcess> </entityField> diff --git a/entity/Productprice_entity/Productprice_entity.aod b/entity/Productprice_entity/Productprice_entity.aod index 66325fddb5..a4ef66bf7d 100644 --- a/entity/Productprice_entity/Productprice_entity.aod +++ b/entity/Productprice_entity/Productprice_entity.aod @@ -22,7 +22,7 @@ <entityField> <name>FROMQUANTITY</name> <title>From no. of units</title> - <contentType>TEXT</contentType> + <contentType>NUMBER</contentType> <outputFormat>#,##0</outputFormat> <mandatory v="true" /> <state>AUTO</state> @@ -31,7 +31,7 @@ <entityField> <name>PRICE</name> <title>Price</title> - <contentType>TEXT</contentType> + <contentType>NUMBER</contentType> <outputFormat>#,##0.00</outputFormat> <mandatory v="true" /> <state>AUTO</state> -- GitLab