In function _compute_expense_totals, the debit and credit of an account move is computed in the right currency rate according to the date. Then in function _prepare_analytic_line, the amount of an analytic line must also be computed in the right currency according to the date. opw:666538