svn commit: r672343 - in /ofbiz/trunk/applications: accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml order/script/org/ofbiz/order/order/OrderServices.xml

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

svn commit: r672343 - in /ofbiz/trunk/applications: accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml order/script/org/ofbiz/order/order/OrderServices.xml

adrianc
Author: adrianc
Date: Fri Jun 27 10:46:39 2008
New Revision: 672343

URL: http://svn.apache.org/viewvc?rev=672343&view=rev
Log:
Fixed a problem where numeric IDs were being localized.

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
    ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml?rev=672343&r1=672342&r2=672343&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Fri Jun 27 10:46:39 2008
@@ -46,6 +46,8 @@
                 </if-not-empty>
                 <store-value value-name="partyAcctgPreference"/>
                 <set from-field="partyAcctgPreference.lastInvoiceNumber" field="invoiceIdTemp"/>
+                <!-- Bypass localization of Long->String conversion -->
+                <set field="invoiceIdTemp" value="${bsh:invoiceIdTemp.toString();}"/>
             </then>
             <else-if>
                 <condition>

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=672343&r1=672342&r2=672343&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Fri Jun 27 10:46:39 2008
@@ -492,6 +492,8 @@
                 </if-not-empty>
                 <store-value value-name="partyAcctgPreference"/>
                 <set from-field="partyAcctgPreference.lastOrderNumber" field="orderIdTemp"/>
+                <!-- Bypass localization of Long->String conversion -->
+                <set field="orderIdTemp" value="${bsh:orderIdTemp.toString();}"/>
             </then>
             <else>
                 <!-- <log level="info" message="In getNextOrderId sequence enum ODRSQ_STANDARD"/> -->