mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[MIG]account_banking_pain_base: Migration to 15.0
This commit is contained in:
@@ -14,13 +14,13 @@ Account Banking PAIN Base Module
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/bank-payment/tree/14.0/account_banking_pain_base
|
||||
:target: https://github.com/OCA/bank-payment/tree/15.0/account_banking_pain_base
|
||||
:alt: OCA/bank-payment
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base
|
||||
:target: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base
|
||||
:alt: Translate me on Weblate
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||
:target: https://runbot.odoo-community.org/runbot/173/14.0
|
||||
:target: https://runbot.odoo-community.org/runbot/173/15.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
@@ -74,7 +74,7 @@ Bug Tracker
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-payment/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_banking_pain_base%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_banking_pain_base%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Do not contact contributors directly about support or help with technical issues.
|
||||
|
||||
@@ -106,6 +106,9 @@ Contributors
|
||||
|
||||
* Pedro M. Baeza
|
||||
* Carlos Roca
|
||||
* `Sygel <https://www.sygel.es>`_:
|
||||
|
||||
* Manuel Regidor
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
@@ -120,6 +123,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/14.0/account_banking_pain_base>`_ project on GitHub.
|
||||
This module is part of the `OCA/bank-payment <https://github.com/OCA/bank-payment/tree/15.0/account_banking_pain_base>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{
|
||||
"name": "Account Banking PAIN Base Module",
|
||||
"summary": "Base module for PAIN file generation",
|
||||
"version": "14.0.1.0.1",
|
||||
"version": "15.0.1.0.1",
|
||||
"license": "AGPL-3",
|
||||
"author": "Akretion, Noviat, Tecnativa, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/bank-payment",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Project-Id-Version: Odoo Server 15.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@@ -274,18 +274,6 @@ msgstr ""
|
||||
msgid "Derivatives"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_method__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_mode__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_bank_payment_line__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_bank__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_company__display_name
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings__display_name
|
||||
msgid "Display Name"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__category_purpose__divi
|
||||
#: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__divd
|
||||
@@ -403,18 +391,6 @@ msgstr ""
|
||||
msgid "Housing Tax"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_method__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_mode__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_bank_payment_line__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_bank__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_company__id
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings__id
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__communication_type__iso
|
||||
msgid "ISO"
|
||||
@@ -528,18 +504,6 @@ msgstr ""
|
||||
msgid "Labor Insurance"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_line____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_method____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_mode____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_account_payment_order____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_bank_payment_line____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_bank____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_company____last_update
|
||||
#: model:ir.model.fields,field_description:account_banking_pain_base.field_res_config_settings____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model.fields.selection,name:account_banking_pain_base.selection__account_payment_line__purpose__licf
|
||||
msgid "License Fee"
|
||||
@@ -876,7 +840,9 @@ msgstr ""
|
||||
#. module: account_banking_pain_base
|
||||
#: code:addons/account_banking_pain_base/models/account_payment_order.py:0
|
||||
#, python-format
|
||||
msgid "The type of the field '%s' is %s. It should be a string or unicode."
|
||||
msgid ""
|
||||
"The type of the field '%(field)s' is %(value)s. It should be a string or "
|
||||
"unicode."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
|
||||
@@ -676,7 +676,7 @@ msgstr ""
|
||||
#, fuzzy, python-format
|
||||
msgid "Payment Line has reference '%s'."
|
||||
msgstr ""
|
||||
"Das '%s' der Zahlungszeile kann nicht mit der Referenz '%s'berechnet werden."
|
||||
"Das 'Referenz '%s'berechnet werden."
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model,name:account_banking_pain_base.model_account_payment_line
|
||||
|
||||
@@ -663,7 +663,7 @@ msgstr ""
|
||||
#, fuzzy, python-format
|
||||
msgid "Payment Line has reference '%s'."
|
||||
msgstr ""
|
||||
"No se puede procesar el campo '%s' de la línea de pago con referencia '%s'."
|
||||
"Línea de pago con referencia '%s'."
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model,name:account_banking_pain_base.model_account_payment_line
|
||||
|
||||
@@ -682,7 +682,7 @@ msgstr ""
|
||||
#, fuzzy, python-format
|
||||
msgid "Payment Line has reference '%s'."
|
||||
msgstr ""
|
||||
"Non è possibile calcolare '%s' della linea di pagamento con riferimento '%s'."
|
||||
"Linea di pagamento con riferimento '%s'."
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model,name:account_banking_pain_base.model_account_payment_line
|
||||
|
||||
@@ -665,7 +665,7 @@ msgstr ""
|
||||
#: code:addons/account_banking_pain_base/models/account_payment_order.py:0
|
||||
#, fuzzy, python-format
|
||||
msgid "Payment Line has reference '%s'."
|
||||
msgstr "Kan de '%s' niet berekenen van de betaalregel met referentie '%s'."
|
||||
msgstr "Betaalregel met referentie '%s'."
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model,name:account_banking_pain_base.model_account_payment_line
|
||||
|
||||
@@ -645,7 +645,7 @@ msgstr ""
|
||||
#, fuzzy, python-format
|
||||
msgid "Payment Line has reference '%s'."
|
||||
msgstr ""
|
||||
"Não foi possível calcular a '%s' da linha de pagamento com referência '%s'"
|
||||
"Linha de pagamento com referência '%s'"
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model,name:account_banking_pain_base.model_account_payment_line
|
||||
|
||||
@@ -647,7 +647,7 @@ msgstr ""
|
||||
#: code:addons/account_banking_pain_base/models/account_payment_order.py:0
|
||||
#, fuzzy, python-format
|
||||
msgid "Payment Line has reference '%s'."
|
||||
msgstr "Ne morem izračunati '%s' plačilne postavke s sklicem '%s'."
|
||||
msgstr "Plačilne postavke s sklicem '%s'."
|
||||
|
||||
#. module: account_banking_pain_base
|
||||
#: model:ir.model,name:account_banking_pain_base.model_account_payment_line
|
||||
|
||||
@@ -11,7 +11,6 @@ class AccountPaymentLine(models.Model):
|
||||
|
||||
priority = fields.Selection(
|
||||
[("NORM", "Normal"), ("HIGH", "High")],
|
||||
string="Priority",
|
||||
default="NORM",
|
||||
help="This field will be used as 'Instruction Priority' in "
|
||||
"the generated PAIN file.",
|
||||
@@ -20,7 +19,7 @@ class AccountPaymentLine(models.Model):
|
||||
# will begin on November 2017, cf account_banking_sepa_credit_transfer
|
||||
# It is also used in some countries such as switzerland,
|
||||
# cf l10n_ch_pain_base that adds some entries in the selection field
|
||||
local_instrument = fields.Selection([], string="Local Instrument")
|
||||
local_instrument = fields.Selection([])
|
||||
category_purpose = fields.Selection(
|
||||
[
|
||||
# Full category purpose list found on:
|
||||
@@ -56,7 +55,6 @@ class AccountPaymentLine(models.Model):
|
||||
("VATX", "VAT Payment"),
|
||||
("WHLD", "WithHolding"),
|
||||
],
|
||||
string="Category Purpose",
|
||||
help="If neither your bank nor your local regulations oblige you to "
|
||||
"set the category purpose, leave the field empty.",
|
||||
)
|
||||
|
||||
@@ -10,7 +10,6 @@ class AccountPaymentMode(models.Model):
|
||||
_inherit = "account.payment.mode"
|
||||
|
||||
initiating_party_issuer = fields.Char(
|
||||
string="Initiating Party Issuer",
|
||||
size=35,
|
||||
help="This will be used as the 'Initiating Party Issuer' in the "
|
||||
"PAIN files generated by Odoo. If not defined, Initiating Party "
|
||||
@@ -21,7 +20,6 @@ class AccountPaymentMode(models.Model):
|
||||
"- Service suffix (N, issued by bank)",
|
||||
)
|
||||
initiating_party_identifier = fields.Char(
|
||||
string="Initiating Party Identifier",
|
||||
size=35,
|
||||
help="This will be used as the 'Initiating Party Identifier' in "
|
||||
"the PAIN files generated by Odoo. If not defined, Initiating Party "
|
||||
@@ -32,7 +30,6 @@ class AccountPaymentMode(models.Model):
|
||||
"- Service suffix (N, issued by bank)",
|
||||
)
|
||||
initiating_party_scheme = fields.Char(
|
||||
string="Initiating Party Scheme",
|
||||
size=35,
|
||||
help="This will be used as the 'Initiating Party Scheme Name' in "
|
||||
"the PAIN files generated by Odoo. This value is determined by the "
|
||||
|
||||
@@ -32,7 +32,6 @@ class AccountPaymentOrder(models.Model):
|
||||
("CRED", "Borne by Creditor"),
|
||||
("DEBT", "Borne by Debtor"),
|
||||
],
|
||||
string="Charge Bearer",
|
||||
default="SLEV",
|
||||
readonly=True,
|
||||
states={"draft": [("readonly", False)], "open": [("readonly", False)]},
|
||||
@@ -48,7 +47,6 @@ class AccountPaymentOrder(models.Model):
|
||||
"debtor.",
|
||||
)
|
||||
batch_booking = fields.Boolean(
|
||||
string="Batch Booking",
|
||||
readonly=True,
|
||||
states={"draft": [("readonly", False)], "open": [("readonly", False)]},
|
||||
tracking=True,
|
||||
@@ -202,15 +200,16 @@ class AccountPaymentOrder(models.Model):
|
||||
"\n".join(
|
||||
[error_msg_prefix] + error_msg_details_list + [error_msg_data]
|
||||
)
|
||||
)
|
||||
) from None
|
||||
|
||||
if not isinstance(value, str):
|
||||
raise UserError(
|
||||
_(
|
||||
"The type of the field '%s' is %s. It should be a string "
|
||||
"or unicode."
|
||||
"The type of the field '%(field)s' is %(value)s. It should be a string "
|
||||
"or unicode.",
|
||||
field=field_name,
|
||||
value=type(value),
|
||||
)
|
||||
% (field_name, type(value))
|
||||
)
|
||||
if not value:
|
||||
raise UserError(
|
||||
@@ -260,7 +259,7 @@ class AccountPaymentOrder(models.Model):
|
||||
"of the problem : %s"
|
||||
)
|
||||
% str(e)
|
||||
)
|
||||
) from None
|
||||
return True
|
||||
|
||||
def finalize_sepa_file_creation(self, xml_root, gen_args):
|
||||
|
||||
@@ -14,19 +14,16 @@ class ResCompany(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
initiating_party_issuer = fields.Char(
|
||||
string="Initiating Party Issuer",
|
||||
size=35,
|
||||
help="This will be used as the 'Initiating Party Issuer' in the "
|
||||
"PAIN files generated by Odoo.",
|
||||
)
|
||||
initiating_party_identifier = fields.Char(
|
||||
string="Initiating Party Identifier",
|
||||
size=35,
|
||||
help="This will be used as the 'Initiating Party Identifier' in "
|
||||
"the PAIN files generated by Odoo.",
|
||||
)
|
||||
initiating_party_scheme = fields.Char(
|
||||
string="Initiating Party Scheme",
|
||||
size=35,
|
||||
help="This will be used as the 'Initiating Party Scheme Name' in "
|
||||
"the PAIN files generated by Odoo.",
|
||||
|
||||
@@ -13,3 +13,6 @@
|
||||
|
||||
* Pedro M. Baeza
|
||||
* Carlos Roca
|
||||
* `Sygel <https://www.sygel.es>`_:
|
||||
|
||||
* Manuel Regidor
|
||||
|
||||
@@ -367,7 +367,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" 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" href="https://github.com/OCA/bank-payment/tree/14.0/account_banking_pain_base"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_pain_base"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/173/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" 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" href="https://github.com/OCA/bank-payment/tree/15.0/account_banking_pain_base"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_banking_pain_base"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/173/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module contains fields and functions that are used by the module for SEPA
|
||||
Credit Transfer (account_banking_sepa_credit_transfer) and SEPA Direct Debit
|
||||
(account_banking_sepa_direct_debit). This module doesn’t provide any
|
||||
@@ -423,7 +423,7 @@ and “Initiating Party Issuer”.</li>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-payment/issues">GitHub Issues</a>.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed
|
||||
<a class="reference external" href="https://github.com/OCA/bank-payment/issues/new?body=module:%20account_banking_pain_base%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<a class="reference external" href="https://github.com/OCA/bank-payment/issues/new?body=module:%20account_banking_pain_base%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
@@ -456,6 +456,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<li>Carlos Roca</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a class="reference external" href="https://www.sygel.es">Sygel</a>:<ul>
|
||||
<li>Manuel Regidor</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
@@ -465,7 +469,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
||||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-payment/tree/14.0/account_banking_pain_base">OCA/bank-payment</a> project on GitHub.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/bank-payment/tree/15.0/account_banking_pain_base">OCA/bank-payment</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user