Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2024-12-03 14:05:58 +01:00 committed by Thomas Winteler
parent f187022a24
commit 751b37fc56
15 changed files with 67 additions and 71 deletions

View File

@ -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_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_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_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_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_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_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 [account_banking_sepa_direct_debit](account_banking_sepa_direct_debit/) | 3.0.1.2.2| Create SEPA files for Direct Debit

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 11.0\n" "Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \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 <stefano.consolaro@mymage.it>\n" "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: it\n" "Language: it\n"
@ -812,7 +812,7 @@ msgstr "Titoli"
#. module: account_banking_pain_base #. module: account_banking_pain_base
#: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__shar #: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_order__charge_bearer__shar
msgid "Shared" msgid "Shared"
msgstr "Quote" msgstr "Condiviso"
#. module: account_banking_pain_base #. module: account_banking_pain_base
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__show_warning_not_sepa #: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__show_warning_not_sepa

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 12.0\n" "Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \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 <stefano.consolaro@mymage.it>\n" "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: it\n" "Language: it\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\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 #. module: account_banking_sepa_direct_debit
#: model:ir.actions.report,print_report_name:account_banking_sepa_direct_debit.report_sepa_direct_debit_mandate #: 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 " "ALL GAPS ARE MANDATORY. ONCE THIS MANDATE HAS BEEN SIGNED MUST BE SENT TO "
"CREDITOR FOR STORAGE." "CREDITOR FOR STORAGE."
msgstr "" 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." "DEVE ESSERE SPEDITO AL CREDITORE PER ARCHIVIAZIONE."
#. module: account_banking_sepa_direct_debit #. module: account_banking_sepa_direct_debit
@ -343,7 +343,7 @@ msgid ""
"Missing SEPA Direct Debit mandate on the line with partner {partner_name} " "Missing SEPA Direct Debit mandate on the line with partner {partner_name} "
"(reference {reference})." "(reference {reference})."
msgstr "" 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})." "{partner_name} (reference {reference})."
#. module: account_banking_sepa_direct_debit #. module: account_banking_sepa_direct_debit

View File

@ -7,7 +7,7 @@ Account Payment Order
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f2c7e805e2cc655f443fe0b29c8315f947f996ced26dfd005c441291b5e4a9c0 !! source digest: sha256:04a6c00f26b7c500ad0a135829a5fc5a02a38da19178d944b39ffc4ba559f37a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png

View File

@ -9,7 +9,7 @@
{ {
"name": "Account Payment Order", "name": "Account Payment Order",
"version": "3.0.1.5.0", "version": "3.0.1.6.1",
"license": "AGPL-3", "license": "AGPL-3",
"author": "ACSONE SA/NV, " "author": "ACSONE SA/NV, "
"Therp BV, " "Therp BV, "

View File

@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Odoo Server 11.0\n" "Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-23 03:38+0000\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 <stefano.consolaro@mymage.it>\n" "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n" "Language: it\n"
@ -260,7 +260,7 @@ msgstr "Annulla pagamenti"
#. module: account_payment_order #. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form
msgid "Choose Move Lines Filter Options" 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 #. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form #: 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 #. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_order_form
msgid "Confirm Payments" msgid "Confirm Payments"
msgstr "Conferma Pagamenti" msgstr "Conferma pagamenti"
#. module: account_payment_order #. module: account_payment_order
#: model:ir.model.fields.selection,name:account_payment_order.selection__account_payment_order__state__open #: 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 #. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form
msgid "Keep empty for using all journals" 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 #. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_create_form #: 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 " "No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders." "intended for payment orders."
msgstr "" 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." "pagamento non è inteso per gli ordini di pagamento."
#. module: account_payment_order #. module: account_payment_order
@ -1166,7 +1166,7 @@ msgstr "Modello tecnico per la stampa dell'ordine di pagamento"
msgid "" msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !" "The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr "" 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 #. module: account_payment_order
#. odoo-python #. odoo-python
@ -1304,7 +1304,7 @@ msgstr "Data valore"
#. module: account_payment_order #. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree
msgid "View" msgid "View"
msgstr "" msgstr "Vista"
#. module: account_payment_order #. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids

View File

@ -78,19 +78,17 @@ class AccountMove(models.Model):
reference_moves |= self.reversal_move_id reference_moves |= self.reversal_move_id
# Retrieve partial payments - e.g.: manual credit notes # Retrieve partial payments - e.g.: manual credit notes
( (
# List of triplets
# (account.partial.reconcile record, amount, account.move.line record)
invoice_partials, invoice_partials,
exchange_diff_moves, # List of account.move IDs
exchange_diff_move_ids,
) = self._get_reconciled_invoices_partials() ) = self._get_reconciled_invoices_partials()
for ( move_ids = [x[2].move_id.id for x in invoice_partials] + exchange_diff_move_ids
_x, for move in self.browse(move_ids):
_y, if move not in reference_moves:
payment_move_line, references.append(move._get_payment_order_communication_direct())
) in invoice_partials + exchange_diff_moves: reference_moves |= move
payment_move = payment_move_line.move_id
if payment_move not in reference_moves:
references.append(
payment_move._get_payment_order_communication_direct()
)
# Add references to communication from lines move # Add references to communication from lines move
if references: if references:
communication += " " + " ".join(references) communication += " " + " ".join(references)

View File

@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f2c7e805e2cc655f443fe0b29c8315f947f996ced26dfd005c441291b5e4a9c0 !! source digest: sha256:04a6c00f26b7c500ad0a135829a5fc5a02a38da19178d944b39ffc4ba559f37a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/17.0/account_payment_order"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_order"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/17.0/account_payment_order"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_order"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds support for payment orders and debit orders.</p> <p>This module adds support for payment orders and debit orders.</p>

View File

@ -88,6 +88,7 @@
<field name="amount_currency" string="Amount" /> <field name="amount_currency" string="Amount" />
<field name="currency_id" invisible="1" /> <field name="currency_id" invisible="1" />
<field name="name" optional="show" /> <field name="name" optional="show" />
<field name="company_currency_id" invisible="1" />
<field <field
name="amount_company_currency" name="amount_company_currency"
sum="Total in Company Currency" sum="Total in Company Currency"

View File

@ -7,7 +7,7 @@ Account Payment Partner
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4750a58d581dc76e3c3a28f4b710532530c346b380fb95a086882e6eaad15cc3 !! source digest: sha256:d945f36547e2375691d68fd19fddd33d2da8be5047ed0a9b5011887a10b524f6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png

View File

@ -6,7 +6,7 @@
{ {
"name": "Account Payment Partner", "name": "Account Payment Partner",
"version": "3.0.1.0.3", "version": "3.0.1.0.5",
"category": "Banking addons", "category": "Banking addons",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Adds payment mode on partners and invoices", "summary": "Adds payment mode on partners and invoices",

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Odoo Server 14.0\n" "Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-13 09:42+0000\n" "PO-Revision-Date: 2024-10-17 13:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n" "Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n" "Language-Team: none\n"
"Language: it\n" "Language: it\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n" "Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\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 #. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form #: 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 #. module: account_payment_partner
#: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars #: model:ir.model.fields,field_description:account_payment_partner.field_account_payment_mode__show_bank_account_chars
msgid "# of digits for customer bank account" 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 #. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.report_invoice_payment_mode #: 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 #. module: account_payment_partner
#: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form #: model_terms:ir.ui.view,arch_db:account_payment_partner.account_payment_mode_form
msgid "Show bank account in invoice report" 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 #. module: account_payment_partner
#: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account #: model:ir.model.fields,help:account_payment_partner.field_account_payment_mode__show_bank_account

View File

@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !! !! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !! !! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4750a58d581dc76e3c3a28f4b710532530c346b380fb95a086882e6eaad15cc3 !! source digest: sha256:d945f36547e2375691d68fd19fddd33d2da8be5047ed0a9b5011887a10b524f6
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/17.0/account_payment_partner"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_partner"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/17.0/account_payment_partner"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-17-0/bank-payment-17-0-account_payment_partner"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds several fields:</p> <p>This module adds several fields:</p>

View File

@ -31,14 +31,11 @@ class TestAccountPaymentPartner(TransactionCase):
) )
if not chart: if not chart:
raise ValidationError(_("No Chart of Account Template has been defined !")) raise ValidationError(_("No Chart of Account Template has been defined !"))
old_company = cls.env.user.company_id cls.env.user.company_ids = [(4, cls.company_2.id)]
cls.env.user.company_id = cls.company_2.id
cls.env.ref("base.user_admin").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( 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 # refs
cls.manual_out = cls.env.ref("account.account_payment_method_manual_out") cls.manual_out = cls.env.ref("account.account_payment_method_manual_out")
cls.manual_out.bank_account_required = True cls.manual_out.bank_account_required = True

View File

@ -10,7 +10,7 @@
<span t-field="o.payment_mode_id.note" /> <span t-field="o.payment_mode_id.note" />
</p> </p>
<t t-if="o.payment_mode_id and o.payment_mode_id.show_bank_account != 'no'"> <t t-if="o.payment_mode_id and o.payment_mode_id.show_bank_account != 'no'">
<p t-foreach="o.partner_banks_to_show()" t-as="partner_bank"> <p t-foreach="o.sudo().partner_banks_to_show()" t-as="partner_bank">
<strong>Bank Account:</strong> <strong>Bank Account:</strong>
<t t-if="partner_bank.bank_id"> <t t-if="partner_bank.bank_id">
<t <t