diff --git a/README.md b/README.md index d4c6941..cfeb0fd 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ addon | version | summary [account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 3.0.1.0.3| Create SEPA XML files for Credit Transfers [account_banking_mandate_sale](account_banking_mandate_sale/) | 3.0.1.0.0| Adds mandates on sale orders [account_banking_pain_base](account_banking_pain_base/) | 3.0.1.0.0| Base module for PAIN file generation -[account_payment_order](account_payment_order/) | 3.0.1.5.0| Account Payment Order +[account_payment_order](account_payment_order/) | 3.0.1.6.1| Account Payment Order [account_vendor_bank_account_default](account_vendor_bank_account_default/) | 3.0.1.0.0| Set a default bank account on partners for their vendor bills [account_payment_order_grouped_output](account_payment_order_grouped_output/) | 3.0.1.0.0| Account Payment Order - Generate grouped moves [account_payment_purchase](account_payment_purchase/) | 3.0.1.2.1| Adds Bank Account and Payment Mode on Purchase Orders -[account_payment_partner](account_payment_partner/) | 3.0.1.0.3| Adds payment mode on partners and invoices +[account_payment_partner](account_payment_partner/) | 3.0.1.0.5| Adds payment mode on partners and invoices [account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 3.0.1.2.2| Create SEPA files for Direct Debit diff --git a/account_banking_pain_base/i18n/it.po b/account_banking_pain_base/i18n/it.po index 4639136..382c692 100644 --- a/account_banking_pain_base/i18n/it.po +++ b/account_banking_pain_base/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-07-16 11:58+0000\n" +"PO-Revision-Date: 2024-10-15 10:06+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -812,7 +812,7 @@ msgstr "Titoli" #. module: account_banking_pain_base #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__shar msgid "Shared" -msgstr "Quote" +msgstr "Condiviso" #. module: account_banking_pain_base #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__show_warning_not_sepa diff --git a/account_banking_sepa_direct_debit/i18n/it.po b/account_banking_sepa_direct_debit/i18n/it.po index 94c6ebb..3c52edf 100644 --- a/account_banking_sepa_direct_debit/i18n/it.po +++ b/account_banking_sepa_direct_debit/i18n/it.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2024-04-19 12:34+0000\n" +"PO-Revision-Date: 2024-10-15 10:06+0000\n" "Last-Translator: mymage \n" "Language-Team: none\n" "Language: it\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"X-Generator: Weblate 5.6.2\n" #. module: account_banking_sepa_direct_debit #: model:ir.actions.report,print_report_name:account_banking_sepa_direct_debit.report_sepa_direct_debit_mandate @@ -157,7 +157,7 @@ msgid "" "ALL GAPS ARE MANDATORY. ONCE THIS MANDATE HAS BEEN SIGNED MUST BE SENT TO " "CREDITOR FOR STORAGE." msgstr "" -"TUTTI I CAMPI SONO OBBLIGATORI. UNA VOLTA CHE IL MANDATO è STATO FIRMATO " +"TUTTI I CAMPI SONO OBBLIGATORI. UNA VOLTA CHE IL MANDATO È STATO FIRMATO " "DEVE ESSERE SPEDITO AL CREDITORE PER ARCHIVIAZIONE." #. module: account_banking_sepa_direct_debit @@ -343,7 +343,7 @@ msgid "" "Missing SEPA Direct Debit mandate on the line with partner {partner_name} " "(reference {reference})." msgstr "" -"Mandato di addebito diretto SEMa non trovato sulla riga con partner " +"Mandato di addebito diretto SEPA non trovato sulla riga con partner " "{partner_name} (reference {reference})." #. module: account_banking_sepa_direct_debit diff --git a/account_payment_order/README.rst b/account_payment_order/README.rst index e7499af..1efdb75 100644 --- a/account_payment_order/README.rst +++ b/account_payment_order/README.rst @@ -7,7 +7,7 @@ Account Payment Order !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:f2c7e805e2cc655f443fe0b29c8315f947f996ced26dfd005c441291b5e4a9c0 + !! source digest: sha256:04a6c00f26b7c500ad0a135829a5fc5a02a38da19178d944b39ffc4ba559f37a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png @@ -40,9 +40,9 @@ Installation This module depends on: -- account_payment_partner -- base_iban -- document +- account_payment_partner +- base_iban +- document This modules is part of the OCA/bank-payment suite. @@ -91,40 +91,40 @@ Authors Contributors ------------ -- Stéphane Bidoul -- Alexis de Lattre -- Adrien Peiffer -- Stefan Rijnhart -- Laurent Mignon -- Alexandre Fayolle -- Danimar Ribeiro -- Erwin van der Ploeg -- Raphaël Valyi -- Sandy Carter -- Angel Moya -- Jose María Alzaga -- Meyomesse Gilles -- Denis Roussel -- `DynApps `__: +- Stéphane Bidoul +- Alexis de Lattre +- Adrien Peiffer +- Stefan Rijnhart +- Laurent Mignon +- Alexandre Fayolle +- Danimar Ribeiro +- Erwin van der Ploeg +- Raphaël Valyi +- Sandy Carter +- Angel Moya +- Jose María Alzaga +- Meyomesse Gilles +- Denis Roussel +- `DynApps `__: - - Raf Ven + - Raf Ven -- Andrea Stirpe -- `Jarsa `__: +- Andrea Stirpe +- `Jarsa `__: - - Alan Ramos + - Alan Ramos -- `Tecnativa `__: +- `Tecnativa `__: - - Pedro M. Baeza - - Carlos Dauden - - Carlos Roca + - Pedro M. Baeza + - Carlos Dauden + - Carlos Roca -- `Open Source Integrators `__: +- `Open Source Integrators `__: - - Ammar Officewala + - Ammar Officewala -- Marçal Isern +- Marçal Isern Maintainers ----------- diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index aa73064..1ec9b70 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -9,7 +9,7 @@ { "name": "Account Payment Order", - "version": "3.0.1.5.0", + "version": "3.0.1.6.1", "license": "AGPL-3", "author": "ACSONE SA/NV, " "Therp BV, " diff --git a/account_payment_order/i18n/it.po b/account_payment_order/i18n/it.po index 56fe763..6a0f738 100644 --- a/account_payment_order/i18n/it.po +++ b/account_payment_order/i18n/it.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-11-23 03:38+0000\n" -"PO-Revision-Date: 2024-08-16 09:58+0000\n" +"PO-Revision-Date: 2024-10-22 10:06+0000\n" "Last-Translator: mymage \n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language: it\n" @@ -260,7 +260,7 @@ msgstr "Annulla pagamenti" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form msgid "Choose Move Lines Filter Options" -msgstr "Scegli opzioni di filtro per righe movimenti" +msgstr "Scegliere opzioni di filtro per righe movimenti" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form @@ -305,7 +305,7 @@ msgstr "Conto bancario aziendale" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_form msgid "Confirm Payments" -msgstr "Conferma Pagamenti" +msgstr "Conferma pagamenti" #. module: account_payment_order #: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__open @@ -661,7 +661,7 @@ msgstr "Filtro registri" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form msgid "Keep empty for using all journals" -msgstr "Mantieni vuoto per l'utilizzo di tutti i registri" +msgstr "Lasciare vuoto per l'utilizzo di tutti i registri" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form @@ -787,7 +787,7 @@ msgid "" "No Payment Line created for invoice %s because its payment mode is not " "intended for payment orders." msgstr "" -"Nessun riga di pagamento creata per la fattura %s perché il suo modo di " +"Nessuna riga di pagamento creata per la fattura %s perché il suo modo di " "pagamento non è inteso per gli ordini di pagamento." #. module: account_payment_order @@ -1166,7 +1166,7 @@ msgstr "Modello tecnico per la stampa dell'ordine di pagamento" msgid "" "The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !" msgstr "" -"L'importo per il Partner '%(partner)s' è negativo o nullo (%(amount).2f) !" +"L'importo per il partner '%(partner)s' è negativo o nullo (%(amount).2f) !" #. module: account_payment_order #. odoo-python @@ -1304,7 +1304,7 @@ msgstr "Data valore" #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree msgid "View" -msgstr "" +msgstr "Vista" #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids diff --git a/account_payment_order/models/account_move.py b/account_payment_order/models/account_move.py index 10ee812..1d0f2f8 100644 --- a/account_payment_order/models/account_move.py +++ b/account_payment_order/models/account_move.py @@ -78,19 +78,17 @@ class AccountMove(models.Model): reference_moves |= self.reversal_move_id # Retrieve partial payments - e.g.: manual credit notes ( + # List of triplets + # (account.partial.reconcile record, amount, account.move.line record) invoice_partials, - exchange_diff_moves, + # List of account.move IDs + exchange_diff_move_ids, ) = self._get_reconciled_invoices_partials() - for ( - _x, - _y, - payment_move_line, - ) in invoice_partials + exchange_diff_moves: - payment_move = payment_move_line.move_id - if payment_move not in reference_moves: - references.append( - payment_move._get_payment_order_communication_direct() - ) + move_ids = [x[2].move_id.id for x in invoice_partials] + exchange_diff_move_ids + for move in self.browse(move_ids): + if move not in reference_moves: + references.append(move._get_payment_order_communication_direct()) + reference_moves |= move # Add references to communication from lines move if references: communication += " " + " ".join(references) diff --git a/account_payment_order/static/description/index.html b/account_payment_order/static/description/index.html index 8f30016..ea9aacb 100644 --- a/account_payment_order/static/description/index.html +++ b/account_payment_order/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:f2c7e805e2cc655f443fe0b29c8315f947f996ced26dfd005c441291b5e4a9c0 +!! source digest: sha256:04a6c00f26b7c500ad0a135829a5fc5a02a38da19178d944b39ffc4ba559f37a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds support for payment orders and debit orders.

diff --git a/account_payment_order/views/account_payment_line.xml b/account_payment_order/views/account_payment_line.xml index f8dd0c9..4f54fe7 100644 --- a/account_payment_order/views/account_payment_line.xml +++ b/account_payment_order/views/account_payment_line.xml @@ -88,6 +88,7 @@ + \n" "Language-Team: none\n" "Language: it\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.17\n" +"X-Generator: Weblate 5.6.2\n" #. module: account_payment_partner #: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form @@ -24,7 +24,7 @@ msgstr "# di caratteri" #. module: account_payment_partner #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars msgid "# of digits for customer bank account" -msgstr "N° di cifre per il conto bancario cliente" +msgstr "# di caratteri per il conto bancario cliente" #. module: account_payment_partner #: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode @@ -201,7 +201,7 @@ msgstr "Mostra conto bancario" #. module: account_payment_partner #: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form msgid "Show bank account in invoice report" -msgstr "Mostra il conto bancario nella fattura" +msgstr "Mostra il conto bancario nel resoconto fattura" #. module: account_payment_partner #: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account diff --git a/account_payment_partner/static/description/index.html b/account_payment_partner/static/description/index.html index 7395a93..2604e69 100644 --- a/account_payment_partner/static/description/index.html +++ b/account_payment_partner/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:4750a58d581dc76e3c3a28f4b710532530c346b380fb95a086882e6eaad15cc3 +!! source digest: sha256:d945f36547e2375691d68fd19fddd33d2da8be5047ed0a9b5011887a10b524f6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: AGPL-3 OCA/bank-payment Translate me on Weblate Try me on Runboat

This module adds several fields:

diff --git a/account_payment_partner/tests/test_account_payment_partner.py b/account_payment_partner/tests/test_account_payment_partner.py index e556833..44e5a81 100644 --- a/account_payment_partner/tests/test_account_payment_partner.py +++ b/account_payment_partner/tests/test_account_payment_partner.py @@ -31,14 +31,11 @@ class TestAccountPaymentPartner(TransactionCase): ) if not chart: raise ValidationError(_("No Chart of Account Template has been defined !")) - old_company = cls.env.user.company_id - cls.env.user.company_id = cls.company_2.id + cls.env.user.company_ids = [(4, cls.company_2.id)] cls.env.ref("base.user_admin").company_ids = [(4, cls.company_2.id)] cls.env["account.chart.template"].try_loading( - "generic_coa", company=cls.company, install_demo=False + "generic_coa", company=cls.company_2, install_demo=False ) - cls.env.user.company_id = old_company.id - # refs cls.manual_out = cls.env.ref("account.account_payment_method_manual_out") cls.manual_out.bank_account_required = True diff --git a/account_payment_partner/views/report_invoice.xml b/account_payment_partner/views/report_invoice.xml index d2456a1..6c76089 100644 --- a/account_payment_partner/views/report_invoice.xml +++ b/account_payment_partner/views/report_invoice.xml @@ -10,7 +10,7 @@

-

+

Bank Account: