[19.0][ADD] account_payment_internal_transfer - #959
Open
alan196 wants to merge 1 commit into
Open
Conversation
…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).
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
accountmodule in Odoo 18.0 (odoo/odoo commit 01b87f1230be).The module adds back:
Changes with respect to the 18.0 PR:
19.0.1.0.0.UserErrorraised insideunlink()with an@api.ondeletemethod (pylint-odoono-raise-unlink).odoo._translations withself.env._(pylint-odooprefer-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.