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

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

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

surajk
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"/>