Skip to content
Snippets Groups Projects
Commit 6235466e authored by Guillaume (guva)'s avatar Guillaume (guva)
Browse files

[FIX] account_check_printing: manual payment method on payment widget


Steps to reproduce:

- On bank journal, set at least two manual
  outbound_payment_method_line_ids
- Set a vendor X with manual property_payment_method_id
- Create a Vendor Bill with vendor X, confirm it, and register payment
OR
- Create a payment with outbound method and select vendor X

Issue:

Got a traceback

The reason is we expected one value instead of several.

With this commit, we take the manual payment method with the
highest priority based on its sequence number.

opw-2743110

closes odoo/odoo#84643

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 7c9f9697
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment