details:   /erp/devel/pi/rev/099b47520e74
changeset: 9410:099b47520e74
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Mon Dec 27 13:43:16 2010 +0100
summary:   Solved issue with alignment of amount/quantity fields

diffstat:

 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
 |  12 ++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r 4e1ecf48b4ae -r 099b47520e74 
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
--- 
a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
     Mon Dec 27 13:40:44 2010 +0100
+++ 
b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/NumberUIDefinition.java
     Mon Dec 27 13:43:16 2010 +0100
@@ -151,18 +151,30 @@
   }
 
   public static class AmountUIDefinition extends NumberUIDefinition {
+    public String getParentType() {
+      return "float";
+    }
+
     public String getFormat() {
       return "euroEdition";
     }
   }
 
   public static class QuantityUIDefinition extends NumberUIDefinition {
+    public String getParentType() {
+      return "float";
+    }
+
     public String getFormat() {
       return "qtyEdition";
     }
   }
 
   public static class PriceUIDefinition extends NumberUIDefinition {
+    public String getParentType() {
+      return "float";
+    }
+
     public String getFormat() {
       return "priceEdition";
     }

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to