consider entries on inactive journals for the general ledger report

On a customer's instance, the entries that used an inactive journal (before
it was deactivated) were not considered in the general ledger; this fixes
the behaviour.
Please keep any existing context by using something like context=dict(context or {}, active_test=False)