[FIX] account: take into account the amount type of second reconciliation line The field second_amount_type was not taken into account when doing automatic reconciliation and 100% of the remaining amount was always used
[FIX] account: take into account the amount type of second reconciliation line
The field second_amount_type was not taken into account when doing automatic reconciliation and 100% of the remaining amount was always used

closes odoo/odoo#37282

X-original-commit: 8c2ed8849bdf5f6b84f63a01c1b27b83d31e3a8d
Signed-off-by: wan <2124e97c58e3bc0dacccdbc9499371f381e5bb73@users.noreply.github.com>

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo