You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Nicolas Malin <ma...@librenberry.net> on 2012/04/18 16:20:39 UTC

Why some invoice Type use hard code to retreive associate invoice item type

Hi all,

On customer site, I edit the invoiceItemTypeMap element to limit the 
invoiceItemType drop-down list when edit invoice item.

This works fine, but COMMISSION_INVOICE, PAYROL_INVOICE, 
PURCHASE_INVOICE and SALES_INVOICE have hard code condition on file 
applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy 
that surchage rule define by invoiceItemTypeMap.

I don't understand what, it would be someone enlightened me ?

Nicolas

-- 
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/


Re: Why some invoice Type use hard code to retreive associate invoice item type

Posted by Nicolas Malin <ma...@librenberry.net>.
No light ?
I open a jira to correct hard code ?

Nicolas


Le 18/04/2012 16:20, Nicolas Malin a écrit :
> Hi all,
>
> On customer site, I edit the invoiceItemTypeMap element to limit the 
> invoiceItemType drop-down list when edit invoice item.
>
> This works fine, but COMMISSION_INVOICE, PAYROL_INVOICE, 
> PURCHASE_INVOICE and SALES_INVOICE have hard code condition on file 
> applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy 
> that surchage rule define by invoiceItemTypeMap.
>
> I don't understand what, it would be someone enlightened me ?
>
> Nicolas
>


-- 
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/