On 06 Aug 11:55, George Florous wrote: > Hello to everybody, > I use neso-3.2.1 and when i print a General Ledger report, i noticed two > things: > > First the "From Period:" clause in the report give always the name of first > period. > This happens cause the assignment " periods = end_periods ". Because > end_periods is a list of periods from > first period to last period we have choose (from account_period table), the > statement - localcontext['start_period'] = periods[0] - > always gives the first period no matter what you choose as "From Period" > clause.The correct is start_period instead of periods[0].
periods are sorted by dates so yes the first period is the first index. > Second , when i choose the first period (for example January,i named > periods with month's name) as the > "From Period:" clause,the results in balance(starting balance) and total > debit and credit columns are a mess, > the amount of balance - starting balance - of every account is wrong (it is > the final total of debit and credit of the account), > the same happened with total columns.I think the lists > start_period,start_periods_ids and id2start_account dictionary is > responsible > for this.Somebody have to look for a solution. I think you have wrong dates on your periods. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpcFP1Ba9u5Y.pgp
Description: PGP signature
