Wrong from_date in _debit_credit_context of GL
Following https://discuss.tryton.org/t/general-ledger-context-from-date-returning-date-minus-a-day/5102
The debit/credit context in case of date range must be the date of the context and not the dates used to compute the start and end balance.