From 591305f25e134d47b8b64d126750371e1a66cef4 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 | 4 ++-- .../readme/DESCRIPTION.rst | 4 ++-- .../static/description/index.html | 13 ++++++------- account_partner_reconcile/tests/__init__.py | 2 -- .../tests/test_account_partner_reconcile.py | 7 ++----- .../views/res_partner_view.xml | 3 +-- 10 files changed, 28 insertions(+), 39 deletions(-) diff --git a/account_partner_reconcile/README.rst b/account_partner_reconcile/README.rst index 6b7442107e..8a1d49c9aa 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 b124a10b37..ac9f9dbbe4 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-19 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 d6311069b1..5dce35372c 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 0742a92f8b..9fb2e07ded 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-19 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 3f85fbc5f4..97ef56a255 100644 --- a/account_partner_reconcile/readme/CONTRIBUTORS.rst +++ b/account_partner_reconcile/readme/CONTRIBUTORS.rst @@ -1,2 +1,2 @@ -* Jordi Ballester -* Jaume Planas \ No newline at end of file +* Jordi Ballester +* Jaume Planas diff --git a/account_partner_reconcile/readme/DESCRIPTION.rst b/account_partner_reconcile/readme/DESCRIPTION.rst index f3d85e2c72..8e5542ed14 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 -view to allow to start the matching of invoices & payments for that partner. \ No newline at end of file +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 79eaf92879..164077c792 100644 --- a/account_partner_reconcile/static/description/index.html +++ b/account_partner_reconcile/static/description/index.html @@ -367,8 +367,8 @@

Account Partner Reconcile

!! 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 @@

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.

@@ -410,14 +410,13 @@

Credits

Authors

    -
  • Eficent
  • -
  • +
  • ForgeFlow
@@ -428,7 +427,7 @@

Maintainers

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 2d8892c423..6032803a49 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 768d93cee5..ad8cc764b0 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-19 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 2e7280b56a..119e91bbfb 100644 --- a/account_partner_reconcile/views/res_partner_view.xml +++ b/account_partner_reconcile/views/res_partner_view.xml @@ -1,7 +1,6 @@ - - + res.partner.view.buttons