Purpose of this commit is to make clearer how final opportunity value are computed or chosen when merging leads. Functionally nothing should change with this commit. LINKS Task ID-2446759 (lead merge priority field management) Task ID-2446883 (query counters fix) PR odoo/odoo#65016