From a007cb0fa9fb5c021e4dabc366b002f0d965efe2 Mon Sep 17 00:00:00 2001 From: mreficent Date: Wed, 29 Jan 2020 13:22:40 +0100 Subject: [PATCH] [MIG] account_partner_reconcile: Migration to 13.0 --- account_partner_reconcile/README.rst | 19 +++++++++---------- account_partner_reconcile/__manifest__.py | 7 +++---- .../i18n/account_partner_reconcile.pot | 2 +- .../models/res_partner.py | 6 ++---- .../readme/CONTRIBUTORS.rst | 2 +- .../readme/DESCRIPTION.rst | 2 +- .../static/description/index.html | 13 ++++++------- account_partner_reconcile/tests/__init__.py | 2 -- .../tests/test_account_partner_reconcile.py | 7 ++----- .../views/res_partner_view.xml | 5 ++--- 10 files changed, 27 insertions(+), 38 deletions(-) diff --git a/account_partner_reconcile/README.rst b/account_partner_reconcile/README.rst index 6b744210..8a1d49c9 100644 --- a/account_partner_reconcile/README.rst +++ b/account_partner_reconcile/README.rst @@ -14,18 +14,18 @@ Account Partner Reconcile :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github - :target: https://github.com/OCA/account-reconcile/tree/12.0/account_partner_reconcile + :target: https://github.com/OCA/account-reconcile/tree/13.0/account_partner_reconcile :alt: OCA/account-reconcile .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-account_partner_reconcile + :target: https://translation.odoo-community.org/projects/account-reconcile-13-0/account-reconcile-13-0-account_partner_reconcile :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/98/12.0 + :target: https://runbot.odoo-community.org/runbot/98/13.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| -This module adds a button "Match Payments" in the customer & suppliers form +This module adds the buttons "Match Receivables" (& "Match Payables") in the customer (& suppliers) form view to allow to start the matching of invoices & payments for that partner. **Table of contents** @@ -52,7 +52,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. @@ -62,13 +62,12 @@ Credits Authors ~~~~~~~ -* Eficent -* +* ForgeFlow Contributors ~~~~~~~~~~~~ -* Jordi Ballester +* Jordi Ballester * Jaume Planas Maintainers @@ -84,6 +83,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/account-reconcile `_ project on GitHub. +This module is part of the `OCA/account-reconcile `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_partner_reconcile/__manifest__.py b/account_partner_reconcile/__manifest__.py index b124a10b..9ea23145 100644 --- a/account_partner_reconcile/__manifest__.py +++ b/account_partner_reconcile/__manifest__.py @@ -1,12 +1,11 @@ -# Copyright 2017-19 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2017-20 ForgeFlow S.L. (http://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Account Partner Reconcile", - "version": "12.0.1.0.1", + "version": "13.0.1.0.0", "category": "Accounting", - "author": "Eficent," "Odoo Community Association (OCA), ", + "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/account-reconcile", "license": "AGPL-3", "depends": ["account"], diff --git a/account_partner_reconcile/i18n/account_partner_reconcile.pot b/account_partner_reconcile/i18n/account_partner_reconcile.pot index d6311069..5dce3537 100644 --- a/account_partner_reconcile/i18n/account_partner_reconcile.pot +++ b/account_partner_reconcile/i18n/account_partner_reconcile.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/account_partner_reconcile/models/res_partner.py b/account_partner_reconcile/models/res_partner.py index 0742a92f..f1bb58cd 100644 --- a/account_partner_reconcile/models/res_partner.py +++ b/account_partner_reconcile/models/res_partner.py @@ -1,14 +1,12 @@ -# Copyright 2017-19 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2017-20 ForgeFlow S.L. (http://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -from odoo import api, models +from odoo import models class ResPartner(models.Model): _inherit = "res.partner" - @api.multi def action_open_reconcile(self): # Open reconciliation view for customers and suppliers reconcile_mode = self.env.context.get("reconcile_mode", False) diff --git a/account_partner_reconcile/readme/CONTRIBUTORS.rst b/account_partner_reconcile/readme/CONTRIBUTORS.rst index 71e224c4..97ef56a2 100644 --- a/account_partner_reconcile/readme/CONTRIBUTORS.rst +++ b/account_partner_reconcile/readme/CONTRIBUTORS.rst @@ -1,2 +1,2 @@ -* Jordi Ballester +* Jordi Ballester * Jaume Planas diff --git a/account_partner_reconcile/readme/DESCRIPTION.rst b/account_partner_reconcile/readme/DESCRIPTION.rst index fbf29ec1..8e5542ed 100644 --- a/account_partner_reconcile/readme/DESCRIPTION.rst +++ b/account_partner_reconcile/readme/DESCRIPTION.rst @@ -1,2 +1,2 @@ -This module adds a button "Match Payments" in the customer & suppliers form +This module adds the buttons "Match Receivables" (& "Match Payables") in the customer (& suppliers) form view to allow to start the matching of invoices & payments for that partner. diff --git a/account_partner_reconcile/static/description/index.html b/account_partner_reconcile/static/description/index.html index 79eaf928..164077c7 100644 --- a/account_partner_reconcile/static/description/index.html +++ b/account_partner_reconcile/static/description/index.html @@ -367,8 +367,8 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runbot

-

This module adds a button “Match Payments” in the customer & suppliers form +

Beta License: AGPL-3 OCA/account-reconcile Translate me on Weblate Try me on Runbot

+

This module adds the buttons “Match Receivables” (& “Match Payables”) in the customer (& suppliers) form view to allow to start the matching of invoices & payments for that partner.

Table of contents

@@ -402,7 +402,7 @@ view to allow to start the matching of invoices & payments for that partner.

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.

@@ -410,14 +410,13 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

Authors

    -
  • Eficent
  • -
  • +
  • ForgeFlow
@@ -428,7 +427,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/account-reconcile project on GitHub.

+

This module is part of the OCA/account-reconcile project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/account_partner_reconcile/tests/__init__.py b/account_partner_reconcile/tests/__init__.py index 2d8892c4..6032803a 100644 --- a/account_partner_reconcile/tests/__init__.py +++ b/account_partner_reconcile/tests/__init__.py @@ -1,5 +1,3 @@ -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import test_account_partner_reconcile diff --git a/account_partner_reconcile/tests/test_account_partner_reconcile.py b/account_partner_reconcile/tests/test_account_partner_reconcile.py index 768d93ce..7d550e75 100644 --- a/account_partner_reconcile/tests/test_account_partner_reconcile.py +++ b/account_partner_reconcile/tests/test_account_partner_reconcile.py @@ -1,14 +1,11 @@ -# Copyright 2017-19 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2017-20 ForgeFlow S.L. (http://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo.tests.common import TransactionCase class TestAccountPartnerReconcile(TransactionCase): - """ - Tests for Account Partner Reconcile. - """ + """ Tests for Account Partner Reconcile.""" def setUp(self): super(TestAccountPartnerReconcile, self).setUp() diff --git a/account_partner_reconcile/views/res_partner_view.xml b/account_partner_reconcile/views/res_partner_view.xml index 74009063..12c7809c 100644 --- a/account_partner_reconcile/views/res_partner_view.xml +++ b/account_partner_reconcile/views/res_partner_view.xml @@ -1,8 +1,7 @@ + + - - - res.partner.view.buttons res.partner