Syncing from upstream OCA/account-payment (19.0)#606
Merged
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
Currently translated at 100.0% (89 of 89 strings) Translation: account-payment-18.0/account-payment-18.0-account_payment_return Translate-URL: https://translation.odoo-community.org/projects/account-payment-18-0/account-payment-18-0-account_payment_return/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-payment-18.0/account-payment-18.0-account_payment_return Translate-URL: https://translation.odoo-community.org/projects/account-payment-18-0/account-payment-18-0-account_payment_return/
Currently translated at 100.0% (91 of 91 strings) Translation: account-payment-18.0/account-payment-18.0-account_payment_return Translate-URL: https://translation.odoo-community.org/projects/account-payment-18-0/account-payment-18-0-account_payment_return/it/
…field to prevent error log ERROR devel odoo.osv.expression: Non-stored field payment.return.reason.display_name cannot be searched. NoneType: None
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
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-payment-18.0/account-payment-18.0-account_payment_return Translate-URL: https://translation.odoo-community.org/projects/account-payment-18-0/account-payment-18-0-account_payment_return/
…to initialize the key, its being calculated later in _compute_payments_widget_reconciled_info
…seful using intermediate accounts TT35080
… _check_duplicate_move_line
…ts_widget_reconciled_info vals TT59860
…nding_account In a multi-company environment, you must call the _get_outstanding_account() method with a virtual account.payment record to ensure that the value returned corresponds to the correct company. TT62403
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 19.0 #606 +/- ##
==========================================
+ Coverage 92.33% 92.41% +0.07%
==========================================
Files 43 51 +8
Lines 939 1331 +392
Branches 92 136 +44
==========================================
+ Hits 867 1230 +363
- Misses 47 62 +15
- Partials 25 39 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
bt_gitbot