-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account: payment method for different payment types
This commit fix a bug noticed when fixing this other one in v15 odoo#93943. We notice that, in addition to not set correctly the payment type, the payment method was wrong too. With this commit, when creating payments from batch, we check for each payment if its type is the same as the one set on the wizard. If not (which means that there are payments of differents types), we set the payment method regarding the payment type. opw-2852186 closes odoo#97943 X-original-commit: e66663b Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
- Loading branch information
Showing
2 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters