You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
I should be able to choose the bank account I prefer, maybe the second or third
Additional context
According to my analysis, this module adds a sale_type_id field in the account_move that is added as a dependency in the method _compute_journal_id which affects the _compute_partner_bank_id method because the journal_id is involved, the _compute_partner_bank_id always execute and place the same account
Module
sale_order_type
Describe the bug
Cannot save an option other than the first bank account (computed field logic) in the partner_bank_id field of account payments.
To Reproduce
16.0
Steps to reproduce the behavior:
https://www.loom.com/share/a4b89edfaf634a00a48cca1ed460e6a6
Expected behavior
I should be able to choose the bank account I prefer, maybe the second or third
Additional context
According to my analysis, this module adds a sale_type_id field in the account_move that is added as a dependency in the method _compute_journal_id which affects the _compute_partner_bank_id method because the journal_id is involved, the _compute_partner_bank_id always execute and place the same account
method added by the module
url: https://github.com/OCA/sale-workflow/blob/53dd5cdc6a196cbb173ddf4d94c84230a1eb621b/sale_order_type/models/account_move.py#L61
computed in account_payment
url: https://github.com/odoo/odoo/blob/65a19492a8044be4f05a8200a6956c3e50b69eab/addons/account/models/account_payment.py#L418
The text was updated successfully, but these errors were encountered: