Author: hansbak
Date: Mon May 21 16:35:52 2007
New Revision: 540361
URL:
http://svn.apache.org/viewvc?view=rev&rev=540361Log:
Jira OFBIZ-1005 reported by Rashko Rejmer fixed
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.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?view=diff&rev=540361&r1=540360&r2=540361==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Mon May 21 16:35:52 2007
@@ -180,6 +180,7 @@
<set field="invoice.invoiceDate" from-field="nowTimestamp"/>
<set field="invoice.statusId" value="INVOICE_IN_PROCESS"/>
<set-service-fields service-name="createInvoice" map-name="invoice" to-map-name="newInvoice"/>
+ <clear-field field-name="newInvoice.invoiceId"/>
<call-service service-name="createInvoice" in-map-name="newInvoice">
<result-to-field result-name="invoiceId" field-name="invoiceId"/>
</call-service>