[19.0][ADD] account_payment_internal_transfer - #4
Open
alan196 wants to merge 220 commits into
Open
Conversation
[IMP] account_payment_return: Implement find match with reference field
When entering manually returns, you need to change the line date. This commit also allows to use header date as defaut line date.
* For journal entry dictionary. * For extra return lines. account_payment_return: Period not present in 9.0
New free text field on return lines: additional information on return reason. This field is populated in account_payment_return_import_sepa_pain with the content of the AddtlInf tag. This is useful when the return reason code is NARR, meaning the reason description does not match any known code but is in this tag.
Use prepare methods for created move and move lines
* [ADD] Account Payment Return Import CAMT: parser camt.054.001.02 files * [REF] Account Payment Return Import ISO20022: merge the two iso20022 modules in one * [REF] Account Payment Return Import: use SavepointCase instead of TransactionCase * [REF] Increase global code coverage
…on guide v13 [FIX] account_payment_return: Fix multi-company rules + migration scripts [FIX] account_payment_return
Currently translated at 54.6% (53 of 97 strings) Translation: account-payment-14.0/account-payment-14.0-account_payment_return Translate-URL: https://translation.odoo-community.org/projects/account-payment-14-0/account-payment-14-0-account_payment_return/nl/
…atically payments A new check has been introduced in odoo/odoo@80c2818 So, in test, when creating payment with payment register wizard, as payments are automatically posted, duplicate posting is now forbidden. https://github.com/odoo/odoo/blob/14.0/addons/account/wizard/account_payment_register.py#L512
…o return payment TT29784
[UPD] Update account_payment_return_import_iso20022.pot [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-payment-13.0/account-payment-13.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-13-0/account-payment-13-0-account_payment_return_import_iso20022/
TT30247 [UPD] Update account_payment_return_import_iso20022.pot [UPD] README.rst
…payment refactoring Following OCA/bank-payment#979
… return and set partner. fix OCA#581 account_payment_return_import_iso20022 14.0.2.0.1
Currently translated at 56.4% (127 of 225 strings) Translation: account-payment-16.0/account-payment-16.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_return_import_iso20022/es/
…ement - Include context keys for avoiding mail operations overhead.
[UPD] Update account_payment_return_import_iso20022.pot [BOT] post-merge updates Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-payment-17.0/account-payment-17.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_return_import_iso20022/
Currently translated at 21.7% (49 of 225 strings) Translation: account-payment-17.0/account-payment-17.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_return_import_iso20022/it/ Translated using Weblate (Italian) Currently translated at 46.2% (104 of 225 strings) Translation: account-payment-17.0/account-payment-17.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_return_import_iso20022/it/ Translated using Weblate (Italian) Currently translated at 55.1% (124 of 225 strings) Translation: account-payment-17.0/account-payment-17.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_return_import_iso20022/it/ Translated using Weblate (Italian) Currently translated at 100.0% (225 of 225 strings) Translation: account-payment-17.0/account-payment-17.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_return_import_iso20022/it/ Translated using Weblate (Italian) Currently translated at 100.0% (225 of 225 strings) Translation: account-payment-17.0/account-payment-17.0-account_payment_return_import_iso20022 Translate-URL: https://translation.odoo-community.org/projects/account-payment-17-0/account-payment-17-0-account_payment_return_import_iso20022/it/
…when match by payment reference This commit call supper method without processed lines in self: OCA@cd89ad9 and that proceed lines are not computed here: https://github.com/OCA/account-payment/blob/f6f205acd14a474074e4cd301dad8ed426bcd15c/account_payment_return/models/payment_return.py#L393 TT58268
…nstead of move_id After this PR OCA/bank-payment#1475, the EndToEndId is generated using the payment ID instead of the journal entry (move) ID. As a result, when importing an payment return XML file, the payment can no longer be matched correctly because the lookup is still performed using the move_id.
The ISO20022 implementation completely overrides `_parse_file()`, bypassing the fallback parser chain implemented by the base module. Delegate empty files to `super()` instead of trying to parse them as ISO20022 XML. TT63167
Currently translated at 100.0% (35 of 35 strings) Translation: account-payment-19.0/account-payment-19.0-account_payment_return_import Translate-URL: https://translation.odoo-community.org/projects/account-payment-19-0/account-payment-19-0-account_payment_return_import/sl/
…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).
Available types: 'task#', 't#' (case insensitive) Examples:
|
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 OCA#923, which restores the internal transfer functionality removed from the
accountmodule in Odoo 18.0.Same content as the upstream PR OCA#959, opened so it is available in the Jarsa fork while the OCA review is in progress.
All 10 unit tests pass on a clean 19.0 database.