svn commit: r1030845 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1030845 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

jonesde
Author: jonesde
Date: Thu Nov  4 07:05:34 2010
New Revision: 1030845

URL: http://svn.apache.org/viewvc?rev=1030845&view=rev
Log:
Changed unitPrice to currency-precise so that 3 digit price values will carry over to the OrderItem, otherwise calculation totals in the cart and earlier totals won't match the final order total

Modified:
    ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=1030845&r1=1030844&r2=1030845&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Thu Nov  4 07:05:34 2010
@@ -492,8 +492,8 @@ under the License.
       <field name="quantity" type="fixed-point" enable-audit-log="true"></field>
       <field name="cancelQuantity" type="fixed-point"></field>
       <field name="selectedAmount" type="fixed-point"></field>
-      <field name="unitPrice" type="currency-amount" enable-audit-log="true"></field>
-      <field name="unitListPrice" type="currency-amount"></field>
+      <field name="unitPrice" type="currency-precise" enable-audit-log="true"></field>
+      <field name="unitListPrice" type="currency-precise"></field>
       <field name="unitAverageCost" type="currency-amount"></field>
       <field name="unitRecurringPrice" type="currency-amount"></field>
       <field name="isModifiedPrice" type="indicator"></field>