On 2 avr, 21:57, Cédric Krier <[email protected]> wrote: > 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. It is done. > 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. You are right. I used a bad test case. > > 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/ > > application_pgp-signature_part > < 1 000AfficherTélécharger
-- [email protected] mailing list
