You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2009/08/06 11:27:40 UTC
svn commit: r801562 -
/ofbiz/trunk/applications/accounting/widget/ap/forms/InvoiceForms.xml
Author: apatel
Date: Thu Aug 6 09:27:40 2009
New Revision: 801562
URL: http://svn.apache.org/viewvc?rev=801562&view=rev
Log:
Add dropdown for list of invoice type that have root as PURCHASE_INVOICE. Patch from OFBIZ-2801. Thanks Sumit and Surya.
Modified:
ofbiz/trunk/applications/accounting/widget/ap/forms/InvoiceForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/ap/forms/InvoiceForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/ap/forms/InvoiceForms.xml?rev=801562&r1=801561&r2=801562&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/ap/forms/InvoiceForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/ap/forms/InvoiceForms.xml Thu Aug 6 09:27:40 2009
@@ -134,11 +134,17 @@
</drop-down>
</field>
<field name="organizationPartyId"><hidden/></field>
- <field name="invoiceTypeId"><hidden value="PURCHASE_INVOICE"/></field>
<field name="fromInvoiceDate" position="1"><date-time/></field>
<field name="thruInvoiceDate" position="2"><date-time/></field>
<field name="fromDueDate" position="1"><date-time/></field>
<field name="thruDueDate" position="2"><date-time/></field>
+ <field name="invoiceTypeId" position="1">
+ <drop-down allow-empty="false">
+ <entity-options entity-name="InvoiceType" description="${description}">
+ <entity-constraint name="parentTypeId" value="PURCHASE_INVOICE"/>
+ </entity-options>
+ </drop-down>
+ </field>
<field name="search" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>