This is interesting... what does it mean when you cancel a paid invoice? -David
On Wed, 2009-07-08 at 15:35 +0000, [email protected] wrote: > Author: ashish > Date: Wed Jul 8 15:35:10 2009 > New Revision: 792188 > > URL: http://svn.apache.org/viewvc?rev=792188&view=rev > Log: > Added one more StatusValidChange record for invoice. > Thanks Sumit & Jacopo. > > Modified: > ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml > ofbiz/trunk/applications/accounting/widget/Menus.xml > > Modified: ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml?rev=792188&r1=792187&r2=792188&view=diff > ============================================================================== > --- ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml (original) > +++ ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml Wed Jul > 8 15:35:10 2009 > @@ -846,6 +846,7 @@ > <StatusValidChange condition="" statusId="INVOICE_READY" > statusIdTo="INVOICE_WRITEOFF" transitionName="Write Off"/> > <StatusValidChange condition="" statusId="INVOICE_PAID" > statusIdTo="INVOICE_READY" transitionName="Unpay"/> > <StatusValidChange condition="" statusId="INVOICE_READY" > statusIdTo="INVOICE_CANCELLED" transitionName="Cancel"/> > + <StatusValidChange condition="" statusId="INVOICE_PAID" > statusIdTo="INVOICE_CANCELLED" transitionName="Cancel"/> > > <!-- payment status --> > <StatusType description="Payment Status" hasTable="N" parentTypeId="" > statusTypeId="PMNT_STATUS"/> > > Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml > URL: > http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=792188&r1=792187&r2=792188&view=diff > ============================================================================== > --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original) > +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Wed Jul 8 15:35:10 > 2009 > @@ -297,6 +297,8 @@ > <if-compare field="invoice.statusId" > operator="equals" value="INVOICE_IN_PROCESS"/> > <if-compare field="invoice.statusId" > operator="equals" value="INVOICE_SENT"/> > <if-compare field="invoice.statusId" > operator="equals" value="INVOICE_RECEIVED"/> > + <if-compare field="invoice.statusId" > operator="equals" value="INVOICE_READY"/> > + <if-compare field="invoice.statusId" > operator="equals" value="INVOICE_PAID"/> > </or> > </and> > </condition> > >
