From 56c1f190ec76d83b0b61a751007a2aa6e1283e79 Mon Sep 17 00:00:00 2001 From: Juany Davila Date: Mon, 13 Jun 2022 13:43:47 -0500 Subject: [PATCH] [MIG] account_invoice_view_payment: Migration to 15.0 --- account_invoice_view_payment/README.rst | 10 +++++----- account_invoice_view_payment/__manifest__.py | 4 ++-- account_invoice_view_payment/models/account_move.py | 4 ++-- account_invoice_view_payment/models/account_payment.py | 4 ++-- .../static/description/index.html | 6 +++--- account_invoice_view_payment/tests/__init__.py | 4 ++-- .../tests/test_account_invoice_view_payment.py | 5 ++--- 7 files changed, 18 insertions(+), 19 deletions(-) diff --git a/account_invoice_view_payment/README.rst b/account_invoice_view_payment/README.rst index 0e3d1d73bfdf..82b7bffefe1b 100644 --- a/account_invoice_view_payment/README.rst +++ b/account_invoice_view_payment/README.rst @@ -14,13 +14,13 @@ Account Invoice View Payment :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--invoicing-lightgray.png?logo=github - :target: https://github.com/OCA/account-invoicing/tree/14.0/account_invoice_view_payment + :target: https://github.com/OCA/account-invoicing/tree/15.0/account_invoice_view_payment :alt: OCA/account-invoicing .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/account-invoicing-14-0/account-invoicing-14-0-account_invoice_view_payment + :target: https://translation.odoo-community.org/projects/account-invoicing-15-0/account-invoicing-15-0-account_invoice_view_payment :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/95/14.0 + :target: https://runbot.odoo-community.org/runbot/95/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -63,7 +63,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. @@ -97,6 +97,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-invoicing `_ project on GitHub. +This module is part of the `OCA/account-invoicing `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_view_payment/__manifest__.py b/account_invoice_view_payment/__manifest__.py index d52989e4401b..2b99d5cd6612 100644 --- a/account_invoice_view_payment/__manifest__.py +++ b/account_invoice_view_payment/__manifest__.py @@ -1,11 +1,11 @@ # Copyright 2017 ForgeFlow S.L. -# (https://www.eficent.com) +# (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) { "name": "Account Invoice View Payment", "summary": "Access to the payment from an invoice", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", "website": "https://github.com/OCA/account-invoicing", "author": "ForgeFlow, " "Odoo Community Association (OCA)", diff --git a/account_invoice_view_payment/models/account_move.py b/account_invoice_view_payment/models/account_move.py index 32edff41d496..beb35f8541ec 100644 --- a/account_invoice_view_payment/models/account_move.py +++ b/account_invoice_view_payment/models/account_move.py @@ -1,5 +1,5 @@ -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (https://www.eficent.com) +# Copyright 2017 ForgeFlow S.L. +# (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) from odoo import models diff --git a/account_invoice_view_payment/models/account_payment.py b/account_invoice_view_payment/models/account_payment.py index 0c151727b987..1467c91ad3dd 100644 --- a/account_invoice_view_payment/models/account_payment.py +++ b/account_invoice_view_payment/models/account_payment.py @@ -1,5 +1,5 @@ -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (https://www.eficent.com) +# Copyright 2017 ForgeFlow S.L. +# (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) from odoo import _, models diff --git a/account_invoice_view_payment/static/description/index.html b/account_invoice_view_payment/static/description/index.html index de29d18ca0b8..f8d1518dc231 100644 --- a/account_invoice_view_payment/static/description/index.html +++ b/account_invoice_view_payment/static/description/index.html @@ -367,7 +367,7 @@

Account Invoice View Payment

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module allows users to access directly to the payment from an invoice when registering a payment or afterwards.

The option to open the payment when it’s being registered is useful @@ -411,7 +411,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.

@@ -439,7 +439,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-invoicing project on GitHub.

+

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

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

diff --git a/account_invoice_view_payment/tests/__init__.py b/account_invoice_view_payment/tests/__init__.py index 3560296d684c..6fa243ca5c76 100644 --- a/account_invoice_view_payment/tests/__init__.py +++ b/account_invoice_view_payment/tests/__init__.py @@ -1,5 +1,5 @@ -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (https://www.eficent.com) +# Copyright 2017 ForgeFlow S.L. +# (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) from . import test_account_invoice_view_payment diff --git a/account_invoice_view_payment/tests/test_account_invoice_view_payment.py b/account_invoice_view_payment/tests/test_account_invoice_view_payment.py index 53a64645c68a..60b9439ea5c6 100644 --- a/account_invoice_view_payment/tests/test_account_invoice_view_payment.py +++ b/account_invoice_view_payment/tests/test_account_invoice_view_payment.py @@ -1,5 +1,5 @@ -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (https://www.eficent.com) +# Copyright 2017 ForgeFlow S.L. +# (https://www.forgeflow.com) # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html) from odoo import fields @@ -143,7 +143,6 @@ def test_view_account_payment_register_form(self): ).create( { "journal_id": self.cash.id, - "payment_method_id": self.payment_method_manual_in.id, } )