Skip to content

Conversation

@pedrobaeza
Copy link
Member

Odoo has changed the mechanism of selecting outstanding account: on v17 there were a field "account_journal_payment_debit_account_id" on res.company for holding the outstanding account. Now, this outstanding account is reflected through an XML-ID identifier.

Thus, the adaptation to the module should follow the same mechanism for selecting the outstanding account.

There's also no need of a specific error message, as the method already contains one.

@Tecnativa TT58856

Odoo has changed the mechanism of selecting outstanding account: on v17
there were a field "account_journal_payment_debit_account_id" on
res.company for holding the outstanding account. Now, this outstanding
account is reflected through an XML-ID identifier.

Thus, the adaptation to the module should follow the same mechanism for
selecting the outstanding account.

There's also no need of a specific error message, as the method already
contains one.

TT58856
@pedrobaeza pedrobaeza added this to the 18.0 milestone Oct 24, 2025
@pedrobaeza
Copy link
Member Author

Linked to OCA/OpenUpgrade#5425

@pedrobaeza
Copy link
Member Author

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-897-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 81084fe into OCA:18.0 Oct 29, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at d65b35d. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-fix-account_payment_return-outstanding_account branch October 29, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants