You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by su...@apache.org on 2019/06/22 10:32:12 UTC

svn commit: r1861837 - /ofbiz/ofbiz-framework/trunk/applications/accounting/widget/InvoiceScreens.xml

Author: surajk
Date: Sat Jun 22 10:32:12 2019
New Revision: 1861837

URL: http://svn.apache.org/viewvc?rev=1861837&view=rev
Log:
Fixed: Issue with Status of invoice.
(OFBIZ-10310)
Cause: Missing statusId in parameters.
Thanks Aayush Jain for reporting and Devanshu Vyas for providing the patch.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/InvoiceScreens.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/InvoiceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/InvoiceScreens.xml?rev=1861837&r1=1861836&r2=1861837&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/InvoiceScreens.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/InvoiceScreens.xml Sat Jun 22 10:32:12 2019
@@ -188,6 +188,7 @@ under the License.
                     <order-by field-name="invoiceItemSeqId"/>
                 </entity-and>
                 <script location="component://accounting/groovyScripts/invoice/CreateApplicationList.groovy"/>
+                <set field="parameters.statusId" from-field="invoice.statusId"/>
                 <set field="invoiceAmount" value="${groovy:org.apache.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotal(invoice)}" type="BigDecimal"/>
                 <set field="notAppliedAmount" value="${groovy:org.apache.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(invoice)}" type="BigDecimal"/>
                 <set field="appliedAmount" value="${groovy:org.apache.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceApplied(invoice)}" type="BigDecimal"/>