I prototyped adding display of
line.reconciliation.name in General Ledger
reports iff the reconciliation date is '<=' to the end_date of the end_period
(if specified) or of the fiscal year.
This seems to work nicely in the generated report, but for 'correctness' I'd
like to filter the column already in the GeneralLedgerLine output screen instead.
I initially thought to put the fields.Many2One for account.move.reconciliation I
added in a fields.Function and provide a 'getter' function get_reconciliation,
but then I realised that I probably didn't have the context necessary (namely
GeneralLedgerAccountContext) in order to do pick up fiscalyear and end_period.
How could this be done? Is there any way to filter columns as opposed to records?
cheers,
--
Richard PALO