diff --git a/account_banking_pain_base/README.rst b/account_banking_pain_base/README.rst
index ed3e12b30..2373f360d 100644
--- a/account_banking_pain_base/README.rst
+++ b/account_banking_pain_base/README.rst
@@ -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/13.0/account_banking_pain_base
+ :target: https://github.com/OCA/bank-payment/tree/14.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-13-0/bank-payment-13-0-account_banking_pain_base
+ :target: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-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/13.0
+ :target: https://runbot.odoo-community.org/runbot/173/14.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -74,7 +74,7 @@ Bug Tracker
Bugs are tracked on `GitHub 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 `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -92,7 +92,6 @@ Contributors
~~~~~~~~~~~~
* Alexis de Lattre
-* Pedro M. Baeza
* Stéphane Bidoul
* Ignacio Ibeas - Acysos S.L.
* Alexandre Fayolle
@@ -103,6 +102,10 @@ Contributors
* `DynApps NV `_:
* Axel Priem
+* `Tecnativa `_:
+
+ * Pedro M. Baeza
+ * Carlos Roca
Maintainers
~~~~~~~~~~~
@@ -117,6 +120,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 `_ project on GitHub.
+This module is part of the `OCA/bank-payment `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/account_banking_pain_base/__manifest__.py b/account_banking_pain_base/__manifest__.py
index d354ce38d..98bbad662 100644
--- a/account_banking_pain_base/__manifest__.py
+++ b/account_banking_pain_base/__manifest__.py
@@ -1,14 +1,15 @@
# Copyright 2013-2016 Akretion - Alexis de Lattre
# Copyright 2014-2017 Tecnativa - Pedro M. Baeza
# Copyright 2016 Tecnativa - Antonio Espinosa
+# Copyright 2021 Tecnativa - Carlos Roca
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Account Banking PAIN Base Module",
"summary": "Base module for PAIN file generation",
- "version": "13.0.1.0.1",
+ "version": "14.0.1.0.0",
"license": "AGPL-3",
- "author": "Akretion, " "Noviat, " "Tecnativa, " "Odoo Community Association (OCA)",
+ "author": "Akretion, Noviat, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/bank-payment",
"category": "Hidden",
"depends": ["account_payment_order"],
diff --git a/account_banking_pain_base/i18n/account_banking_pain_base.pot b/account_banking_pain_base/i18n/account_banking_pain_base.pot
index 0ab8f5066..30a8c737f 100644
--- a/account_banking_pain_base/i18n/account_banking_pain_base.pot
+++ b/account_banking_pain_base/i18n/account_banking_pain_base.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 13.0\n"
+"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -274,6 +274,18 @@ 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
@@ -391,6 +403,18 @@ 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"
@@ -504,6 +528,18 @@ 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"
diff --git a/account_banking_pain_base/models/account_payment_line.py b/account_banking_pain_base/models/account_payment_line.py
index 003c5a760..e62dc92b4 100644
--- a/account_banking_pain_base/models/account_payment_line.py
+++ b/account_banking_pain_base/models/account_payment_line.py
@@ -1,5 +1,6 @@
-# © 2013-2016 Akretion - Alexis de Lattre
-# © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+# Copyright 2013-2016 Akretion - Alexis de Lattre
+# Copyright 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+# Copyright 2021 Tecnativa - Carlos Roca
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
@@ -169,4 +170,6 @@ class AccountPaymentLine(models.Model):
# The field struct_communication_type has been dropped in v9
# We now use communication_type ; you should add an option
# in communication_type with selection_add=[]
- communication_type = fields.Selection(selection_add=[("ISO", "ISO")])
+ communication_type = fields.Selection(
+ selection_add=[("ISO", "ISO")], ondelete={"ISO": "cascade"}
+ )
diff --git a/account_banking_pain_base/models/account_payment_method.py b/account_banking_pain_base/models/account_payment_method.py
index e06918ac4..067468c81 100644
--- a/account_banking_pain_base/models/account_payment_method.py
+++ b/account_banking_pain_base/models/account_payment_method.py
@@ -1,4 +1,4 @@
-# © 2016 Akretion (Alexis de Lattre )
+# Copyright 2016 Akretion (Alexis de Lattre )
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import _, fields, models
diff --git a/account_banking_pain_base/models/account_payment_mode.py b/account_banking_pain_base/models/account_payment_mode.py
index 9b3a71d92..139efdfe2 100644
--- a/account_banking_pain_base/models/account_payment_mode.py
+++ b/account_banking_pain_base/models/account_payment_mode.py
@@ -1,6 +1,6 @@
-# © 2013-2016 Akretion - Alexis de Lattre
-# © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
-# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa
+# Copyright 2013-2016 Akretion - Alexis de Lattre
+# Copyright 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+# Copyright 2016 Antiun Ingenieria S.L. - Antonio Espinosa
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
diff --git a/account_banking_pain_base/models/account_payment_order.py b/account_banking_pain_base/models/account_payment_order.py
index 30d943393..9e35926e6 100644
--- a/account_banking_pain_base/models/account_payment_order.py
+++ b/account_banking_pain_base/models/account_payment_order.py
@@ -1,6 +1,7 @@
-# © 2013-2016 Akretion - Alexis de Lattre
-# © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
-# © 2016 Antiun Ingenieria S.L. - Antonio Espinosa
+# Copyright 2013-2016 Akretion - Alexis de Lattre
+# Copyright 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+# Copyright 2016 Antiun Ingenieria S.L. - Antonio Espinosa
+# Copyright 2021 Tecnativa - Carlos Roca
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
import logging
@@ -35,7 +36,7 @@ class AccountPaymentOrder(models.Model):
default="SLEV",
readonly=True,
states={"draft": [("readonly", False)], "open": [("readonly", False)]},
- track_visibility="onchange",
+ tracking=True,
help="Following service level : transaction charges are to be "
"applied following the rules agreed in the service level "
"and/or scheme (SEPA Core messages must use this). Shared : "
@@ -50,7 +51,7 @@ class AccountPaymentOrder(models.Model):
string="Batch Booking",
readonly=True,
states={"draft": [("readonly", False)], "open": [("readonly", False)]},
- track_visibility="onchange",
+ tracking=True,
help="If true, the bank statement will display only one debit "
"line for all the wire transfers of the SEPA XML file ; if "
"false, the bank statement will display one debit line per wire "
diff --git a/account_banking_pain_base/models/bank_payment_line.py b/account_banking_pain_base/models/bank_payment_line.py
index 42f891dd2..0079b5fda 100644
--- a/account_banking_pain_base/models/bank_payment_line.py
+++ b/account_banking_pain_base/models/bank_payment_line.py
@@ -1,4 +1,5 @@
-# © 2013-2016 Akretion - Alexis de Lattre
+# Copyright 2013-2016 Akretion - Alexis de Lattre
+# Copyright 2021 Tecnativa - Carlos Roca
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from odoo import api, fields, models
@@ -18,8 +19,6 @@ class BankPaymentLine(models.Model):
@api.model
def same_fields_payment_line_and_bank_payment_line(self):
- res = super(
- BankPaymentLine, self
- ).same_fields_payment_line_and_bank_payment_line()
+ res = super().same_fields_payment_line_and_bank_payment_line()
res += ["priority", "local_instrument", "category_purpose", "purpose"]
return res
diff --git a/account_banking_pain_base/models/res_company.py b/account_banking_pain_base/models/res_company.py
index 606808a3a..86f812765 100644
--- a/account_banking_pain_base/models/res_company.py
+++ b/account_banking_pain_base/models/res_company.py
@@ -1,6 +1,6 @@
-# © 2013-2016 Akretion - Alexis de Lattre
-# © 2013 Noviat (http://www.noviat.com) - Luc de Meyer
-# © 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
+# Copyright 2013-2016 Akretion - Alexis de Lattre
+# Copyright 2013 Noviat (http://www.noviat.com) - Luc de Meyer
+# Copyright 2014 Serv. Tecnol. Avanzados - Pedro M. Baeza
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
import logging
diff --git a/account_banking_pain_base/readme/CONTRIBUTORS.rst b/account_banking_pain_base/readme/CONTRIBUTORS.rst
index c66e5e824..c878ad094 100644
--- a/account_banking_pain_base/readme/CONTRIBUTORS.rst
+++ b/account_banking_pain_base/readme/CONTRIBUTORS.rst
@@ -1,5 +1,4 @@
* Alexis de Lattre
-* Pedro M. Baeza
* Stéphane Bidoul
* Ignacio Ibeas - Acysos S.L.
* Alexandre Fayolle
@@ -10,3 +9,7 @@
* `DynApps NV `_:
* Axel Priem
+* `Tecnativa `_:
+
+ * Pedro M. Baeza
+ * Carlos Roca
diff --git a/account_banking_pain_base/static/description/index.html b/account_banking_pain_base/static/description/index.html
index cbd2eecec..3bf5c6a6a 100644
--- a/account_banking_pain_base/static/description/index.html
+++ b/account_banking_pain_base/static/description/index.html
@@ -367,7 +367,7 @@ ul.auto-toc {
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-

+

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”.
Bugs are tracked on GitHub 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.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -440,7 +440,6 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
+
Tecnativa:
+- Pedro M. Baeza
+- Carlos Roca
+
+
@@ -461,7 +465,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
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 project on GitHub.
+
This module is part of the OCA/bank-payment project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.