Skip to content

[19.0][ADD] account_payment_internal_transfer - #959

Open
alan196 wants to merge 1 commit into
OCA:19.0from
Jarsa-dev:19.0-add-account_payment_internal_transfer
Open

[19.0][ADD] account_payment_internal_transfer#959
alan196 wants to merge 1 commit into
OCA:19.0from
Jarsa-dev:19.0-add-account_payment_internal_transfer

Conversation

@alan196

@alan196 alan196 commented Jul 1, 2026

Copy link
Copy Markdown

Port to 19.0 of the module proposed for 18.0 in #923 (by @JoanSForgeFlow / ForgeFlow), which restores the internal transfer functionality removed from the account module in Odoo 18.0 (odoo/odoo commit 01b87f1230be).

The module adds back:

  • An Internal Transfer checkbox and a Destination Journal field on payments.
  • Automatic creation of the paired payment in the destination journal when the transfer is posted, using the company transfer account as counterpart.
  • Automatic reconciliation of both transfer account lines.
  • Cascade of cancel/draft/unlink between paired payments.
  • An Internal Transfer shortcut in the bank/cash journal dashboard.

Changes with respect to the 18.0 PR:

  • Bumped version to 19.0.1.0.0.
  • Replaced the UserError raised inside unlink() with an @api.ondelete method (pylint-odoo no-raise-unlink).
  • Replaced odoo._ translations with self.env._ (pylint-odoo prefer-env-translation).

All 10 unit tests pass on a clean 19.0 database.

Some history: the original module restoring this feature for 14.0 was account_payment_paired_internal_transfer (#428), which I authored back then.

…n payments

Restore the internal transfer functionality on account.payment that was
removed from the account module in Odoo 18.0: an Internal Transfer
checkbox with a destination journal that automatically creates the
paired payment in the destination journal using the company transfer
account and reconciles both sides.

This is a port to 19.0 of the module proposed for 18.0 in
OCA#923, adapted to the 19.0 linter rules
(api.ondelete instead of raising in unlink, self.env._ translations).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_payment_internal_transfer Module account_payment_internal_transfer series:19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants