[Erp5-dev] Accounting transactions list does not display empty transactions

Jérôme Perrin jerome at nexedi.com
Tue Jan 24 16:55:38 CET 2006


Le Mardi 24 Janvier 2006 16:29, Bartłomiej Górny a écrit :
> Hello
>
> Problem: accounting module does not list transactions which have no
> accounting transaction lines or only lines with zero value.

Hello

This is a known bug, but transactions with lines with zero quantity are shown, 
only transactions _without lines_ are not shown. As long as init scripts 
automatically adds lines inside a transaction, this is not #1 priority bug 
(but it's on the list).
Also note that if you do not have a preferred currency in your actives 
preferences, no resource is set on the lines, so they are not catalogged in 
stock table and then are not shown in the list, this is another way to find 
the bug in action.
It is still possible to see all transactions by going to search fields and 
removing all search parameters (some are automatically initiallized).

> I think the reason is that
> AccountingTransactionModule_zGetAccountingTransactionList now joins with
> movement and stock, which have no corresponding entries if the
> transaction has no value.
>
> A bug, or a feature? ;)

-- 
Jérome



More information about the Erp5-dev mailing list