ok i missed that...still i am very surprised how you can cancel a posted
and paid invoice...

i tried it and it did not work anyway....that is why i changed it.

Regards,
Hans

On Tue, 2009-07-21 at 07:32 -0700, Adrian Crum wrote:
> Hans,
> 
> This commit reverts rev 792188. Perhaps it would be best if business 
> logic changes were discussed on the mailing list before making these 
> kind of changes.
> 
> -Adrian
> 
> [email protected] wrote:
> > Author: hansbak
> > Date: Tue Jul 21 08:34:27 2009
> > New Revision: 796178
> > 
> > URL: http://svn.apache.org/viewvc?rev=796178&view=rev
> > Log:
> > cannot cancel a paid invoice, add find button
> > 
> > Modified:
> >     ofbiz/trunk/applications/accounting/widget/Menus.xml
> > 
> > Modified: ofbiz/trunk/applications/accounting/widget/Menus.xml
> > URL: 
> > http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/Menus.xml?rev=796178&r1=796177&r2=796178&view=diff
> > ==============================================================================
> > --- ofbiz/trunk/applications/accounting/widget/Menus.xml (original)
> > +++ ofbiz/trunk/applications/accounting/widget/Menus.xml Tue Jul 21 
> > 08:34:27 2009
> > @@ -47,6 +47,9 @@
> >      </menu>
> >  
> >      <menu name="InvoiceTabBar" extends="CommonTabBarMenu" 
> > extends-resource="component://common/widget/CommonMenus.xml">
> > +        <menu-item name="find" title="${uiLabelMap.CommonFind}">
> > +            <link target="findInvoices"/>
> > +        </menu-item>
> >          <menu-item name="invoiceOverview" 
> > title="${uiLabelMap.AccountingInvoiceOverview}">
> >              <condition>
> >                  <not><if-empty field="invoice.invoiceId"/></not>
> > @@ -298,7 +301,6 @@
> >                          <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>
> > 
> > 
> > 
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates

Reply via email to