diff --git a/entity/Product_entity/Product_entity.aod b/entity/Product_entity/Product_entity.aod index d2902bb8988c83b2ea5721dabfdf8350f3a422b2..a30ac9f67e395688a8cfc780a01d6a71512c2d5b 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 66325fddb5dc5a4c159def4f1ddf79ddf632401a..a4ef66bf7d43994a96a25edb8989268bd2ec82a9 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>