On 02/04/11 13:26 -0700, fares wrote:
> Hi,
> I solved that by adding this : "account_ids.sort()" in class
> GeneralLegder(Report) after the line "account_ids =
> account_id2lines.keys()"
> In fact, the function "keys" seems to sort randomly the elements. That
> is why we need to sort it again.

Could you fill an issue with this description.
Using sort is not the solution because you sort on ids and not on code but I
think the solution is to remove account id that are not in account_id2lines.

Thanks,
-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpzEt66UpY5w.pgp
Description: PGP signature

Reply via email to