There was an unneeded mapped of the initial statements that fetches a lot of
data from statement lines that are not going to be used later, so let's
remove it and optimize a bit the initial opening time.
In a customer database, we have improved the opening time from 120 seconds
to 15.
TT48753
When getting propositions from the reconcile models, we should
explicitly exclude the amls of the bank statement lines.
If not, we can get a situation where the journal item of the bank
statement line is proposed to itself.
TT45568
There's no need to synchronize business models (payments and statement
lines) when the reconcile is done, as the only value written in
the journal item is `full_reconcile_id`.
This way, we speed up the reconciliation process through the widget.
If the journal destination account is reconcilable, as the journal entry
is pre-generated before reconciling, the line is appearing in the
reconciliation widget, provoking user confusion and error if that one
is selected.
We explicitly exclude in the matching domain for avoiding the problem.
TT42983
Payments without payment_id related aren't showed in statement
reconciliation.
With this change, we show them as blue lines, the same as other coming
from Odoo core payments.
TT34508