Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] l10n_ch_pain_base: Migration to 16.0 #725

Open
wants to merge 28 commits into
base: 16.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e1452cb
Migrate to a new architecture with 3 modules for PAIN
alexis-via Jun 29, 2016
66cb8c8
Add a unit-test for payment type 3
alexis-via Jun 29, 2016
9ef545f
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
e364cdf
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
7af5eaf
[MIG] l10n_ch_pain_base: Migrated to 10.0
leemannd Feb 28, 2017
e722a4b
Adapt tests to editable ccp on partner bank form
yvaucher Mar 16, 2017
4a52979
Fix pain base following change of method signature
yvaucher Jun 20, 2017
9ef0146
[MIG] l10n_ch_pain_base: Migrate to odoo 11
Jan 4, 2018
4e35d39
[11.0][FIX] l10n_ch_pain_base - Fix migration script
jcoux May 17, 2018
b2d754b
[11.0][FIX] l10n_ch_pain_base - fix error message (#425)
lfr-opennet Jun 13, 2018
9d4a97b
[MIG] Make modules uninstallable
OCA-git-bot Sep 28, 2018
6ca9196
[MIG] l10n_ch_pain_base: Migration to odoo 12
asaunier Feb 11, 2019
9f01bd2
[11.0] l10n_ch_pain_base: Override address block for Swiss specs
p-tombez Mar 20, 2019
edb501b
[11.0] l10n_ch_pain_base: Fix empty address block generation
p-tombez Mar 28, 2019
ac3ff7c
Pain.001 use l10n_ch_postal field
yvaucher Sep 3, 2019
3615fa1
[UPD] Update l10n_ch_pain_base.pot
oca-travis Oct 2, 2019
55242b1
# This is a combination of 4 commits.
davidwul Nov 25, 2020
0f75759
Add the ability to include a QR invoice with QRR on a payement order and
davidwul Dec 4, 2020
78d873b
l10n_ch_pain_base 12.0.2.1.0
OCA-git-bot Jan 14, 2021
e977f4f
[12.0][FIX] check if bank attached to not raise sigleton error
i-vyshnevska May 13, 2021
9cd912e
l10n_ch_pain_base 12.0.2.1.1
OCA-git-bot Jun 9, 2021
952bcd5
[IMP] l10n_ch_pain_base: black, isort, prettier
May 5, 2023
46e7f0d
[MIG] l10n_ch_pain_base: Migration to 13.0
May 5, 2023
dc6202e
[IMP] l10n_ch_pain_base: black, isort, prettier
May 5, 2023
fd851b2
[MIG] l10n_ch_pain_base: Migration to 14.0
May 5, 2023
8a4deda
Translated using Weblate (Italian)
mymage Feb 23, 2024
38f5891
[IMP] l10n_ch_pain_base: pre-commit stuff
BT-anieto Jun 11, 2024
c9e3f7e
[MIG] l10n_ch_pain_base: Migration to 16.0
BT-anieto Jun 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[11.0][FIX] l10n_ch_pain_base - fix error message (#425)
* [11.0][FIX] l10n_ch_pain_base - fix error message

Fix of the field used on the UsserError message when no CCP account is set.
The field 'partner_bank.name' doesn't exist, the corresponding field is 'partner_bank.acc_number'
lfr-opennet authored and BT-anieto committed Jun 11, 2024
commit b2d754b761da4ae116b98a26ee8fe59a8d0e49be
8 changes: 4 additions & 4 deletions l10n_ch_pain_base/i18n/de.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pain_base
#
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
@@ -12,17 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-04-19 00:40+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:72
#, python-format
msgid ""
"For pain.001.001.03.ch.02, for non-BVR payments, the BIC is required on the "
"For pain.001.001.03.ch.02, for non-ISR payments, the BIC is required on the "
"bank '%s' related to the bank account '%s'"
msgstr ""

@@ -42,7 +42,7 @@ msgid "Payment Order"
msgstr ""

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:91
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:90
#, python-format
msgid "The field 'CCP/CP-Konto' is not set on the bank account '%s'."
msgstr ""
12 changes: 6 additions & 6 deletions l10n_ch_pain_base/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pain_base
#
#
# Translators:
# leemannd <denis.leemann@camptocamp.com>, 2017
# OCA Transbot <transbot@odoo-community.org>, 2017
@@ -13,17 +13,17 @@ msgstr ""
"PO-Revision-Date: 2017-12-01 03:54+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:73
#, python-format
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:72
#, fuzzy, python-format
msgid ""
"For pain.001.001.03.ch.02, for non-BVR payments, the BIC is required on the "
"For pain.001.001.03.ch.02, for non-ISR payments, the BIC is required on the "
"bank '%s' related to the bank account '%s'"
msgstr ""
"Pour pain.001.001.03.ch.02 et les payement non-BVR, le BIC est requis sur "
@@ -45,7 +45,7 @@ msgid "Payment Order"
msgstr "Ordre de paiement"

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:92
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:90
#, python-format
msgid "The field 'CCP/CP-Konto' is not set on the bank account '%s'."
msgstr ""
10 changes: 5 additions & 5 deletions l10n_ch_pain_base/i18n/it.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pain_base
#
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
@@ -12,17 +12,17 @@ msgstr ""
"PO-Revision-Date: 2017-03-03 03:39+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:72
#, python-format
msgid ""
"For pain.001.001.03.ch.02, for non-BVR payments, the BIC is required on the "
"For pain.001.001.03.ch.02, for non-ISR payments, the BIC is required on the "
"bank '%s' related to the bank account '%s'"
msgstr ""

@@ -42,7 +42,7 @@ msgid "Payment Order"
msgstr "Ordine di Pagamento"

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:91
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:90
#, python-format
msgid "The field 'CCP/CP-Konto' is not set on the bank '%s'."
msgid "The field 'CCP/CP-Konto' is not set on the bank account '%s'."
msgstr ""
42 changes: 42 additions & 0 deletions l10n_ch_pain_base/i18n/l10n_ch_pain_base.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * l10n_ch_pain_base
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:72
#, python-format
msgid "For pain.001.001.03.ch.02, for non-ISR payments, the BIC is required on the bank '%s' related to the bank account '%s'"
msgstr ""

#. module: l10n_ch_pain_base
#: model:ir.model,name:l10n_ch_pain_base.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: l10n_ch_pain_base
#: model:ir.model,name:l10n_ch_pain_base.model_account_payment_line
msgid "Payment Lines"
msgstr ""

#. module: l10n_ch_pain_base
#: model:ir.model,name:l10n_ch_pain_base.model_account_payment_order
msgid "Payment Order"
msgstr ""

#. module: l10n_ch_pain_base
#: code:addons/l10n_ch_pain_base/models/account_payment_order.py:90
#, python-format
msgid "The field 'CCP/CP-Konto' is not set on the bank account '%s'."
msgstr ""

2 changes: 1 addition & 1 deletion l10n_ch_pain_base/models/account_payment_order.py
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ def generate_party_acc_number(self, parent_node, party_type, order,
if not partner_bank.ccp:
raise UserError(_(
"The field 'CCP/CP-Konto' is not set on the bank "
"account '%s'.") % partner_bank.name)
"account '%s'.") % partner_bank.acc_number)
party_account = etree.SubElement(
parent_node, '%sAcct' % party_type)
party_account_id = etree.SubElement(party_account, 'Id')