From 5179f04f38c2efcefa3b9a34abc6c863e5d8c8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Jimenez?= Date: Mon, 17 Dec 2018 10:10:50 +0100 Subject: [PATCH] [MIG] account_partner_reconcile: Migration to 12.0 --- account_partner_reconcile/README.rst | 70 ++- account_partner_reconcile/__manifest__.py | 6 +- .../models/res_partner.py | 2 +- .../readme/CONFIGURE.rst | 2 + .../readme/CONTRIBUTORS.rst | 2 + .../readme/DESCRIPTION.rst | 2 + account_partner_reconcile/readme/USAGE.rst | 3 + .../static/description/index.html | 437 ++++++++++++++++++ .../tests/test_account_partner_reconcile.py | 4 +- .../views/res_partner_view.xml | 4 +- 10 files changed, 508 insertions(+), 24 deletions(-) create mode 100644 account_partner_reconcile/readme/CONFIGURE.rst create mode 100644 account_partner_reconcile/readme/CONTRIBUTORS.rst create mode 100644 account_partner_reconcile/readme/DESCRIPTION.rst create mode 100644 account_partner_reconcile/readme/USAGE.rst create mode 100644 account_partner_reconcile/static/description/index.html diff --git a/account_partner_reconcile/README.rst b/account_partner_reconcile/README.rst index 6c22a930..f1fff347 100644 --- a/account_partner_reconcile/README.rst +++ b/account_partner_reconcile/README.rst @@ -1,53 +1,89 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ========================= Account Partner Reconcile ========================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :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--payment-lightgray.png?logo=github + :target: https://github.com/OCA/account-payment/tree/12.0/account_partner_reconcile + :alt: OCA/account-payment +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-payment-12-0/account-payment-12-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/96/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + 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. +**Table of contents** + +.. contents:: + :local: + Configuration ============= The button is visible only to users that belong to the accounting groups "Accountant" or "Adviser". -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/96/11.0 +Usage +===== + +#. Enable 'Show Full Accounting Features' +#. Create a new Customer Invoice and Payment +#. Go to the Customer/Supplier view form and click on Match payments 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. +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 `_. +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* Eficent +* + Contributors ------------- +~~~~~~~~~~~~ * Jordi Ballester * Jaume Planas -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - 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. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/account-payment `_ 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 d9d60297..784bc40d 100644 --- a/account_partner_reconcile/__manifest__.py +++ b/account_partner_reconcile/__manifest__.py @@ -1,14 +1,14 @@ -# © 2017 Eficent Business and IT Consulting Services S.L. +# Copyright 2017-19 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). { 'name': "Account Partner Reconcile", - 'version': '11.0.1.0.0', + 'version': '12.0.1.0.0', 'category': 'Accounting', 'author': 'Eficent,' 'Odoo Community Association (OCA), ', - 'website': 'https://github.com/OCA/account-payment', + 'website': 'https://github.com/OCA/account-reconcile', 'license': 'AGPL-3', "depends": [ 'account', diff --git a/account_partner_reconcile/models/res_partner.py b/account_partner_reconcile/models/res_partner.py index 1b299e97..afbbcbc4 100644 --- a/account_partner_reconcile/models/res_partner.py +++ b/account_partner_reconcile/models/res_partner.py @@ -1,4 +1,4 @@ -# © 2017 Eficent Business and IT Consulting Services S.L. +# Copyright 2017-19 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). diff --git a/account_partner_reconcile/readme/CONFIGURE.rst b/account_partner_reconcile/readme/CONFIGURE.rst new file mode 100644 index 00000000..b7f142bb --- /dev/null +++ b/account_partner_reconcile/readme/CONFIGURE.rst @@ -0,0 +1,2 @@ +The button is visible only to users that belong to the accounting groups +"Accountant" or "Adviser". \ No newline at end of file diff --git a/account_partner_reconcile/readme/CONTRIBUTORS.rst b/account_partner_reconcile/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..3f85fbc5 --- /dev/null +++ b/account_partner_reconcile/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Jordi Ballester +* Jaume Planas \ No newline at end of file diff --git a/account_partner_reconcile/readme/DESCRIPTION.rst b/account_partner_reconcile/readme/DESCRIPTION.rst new file mode 100644 index 00000000..f3d85e2c --- /dev/null +++ b/account_partner_reconcile/readme/DESCRIPTION.rst @@ -0,0 +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 diff --git a/account_partner_reconcile/readme/USAGE.rst b/account_partner_reconcile/readme/USAGE.rst new file mode 100644 index 00000000..c01c915d --- /dev/null +++ b/account_partner_reconcile/readme/USAGE.rst @@ -0,0 +1,3 @@ +#. Enable 'Show Full Accounting Features' +#. Create a new Customer Invoice and Payment +#. Go to the Customer/Supplier view form and click on Match payments \ No newline at end of file diff --git a/account_partner_reconcile/static/description/index.html b/account_partner_reconcile/static/description/index.html new file mode 100644 index 00000000..f6f2daab --- /dev/null +++ b/account_partner_reconcile/static/description/index.html @@ -0,0 +1,437 @@ + + + + + + +Account Partner Reconcile + + + +
+

Account Partner Reconcile

+ + +

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

+

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.

+

Table of contents

+ +
+

Configuration

+

The button is visible only to users that belong to the accounting groups +“Accountant” or “Adviser”.

+
+
+

Usage

+
    +
  1. Enable ‘Show Full Accounting Features’
  2. +
  3. Create a new Customer Invoice and Payment
  4. +
  5. Go to the Customer/Supplier view form and click on Match payments
  6. +
+
+
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Eficent
  • +
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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-payment 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/test_account_partner_reconcile.py b/account_partner_reconcile/tests/test_account_partner_reconcile.py index a84230dc..5e44f9d7 100644 --- a/account_partner_reconcile/tests/test_account_partner_reconcile.py +++ b/account_partner_reconcile/tests/test_account_partner_reconcile.py @@ -1,5 +1,5 @@ -# Copyright 2017 Eficent Business and IT Consulting Services S.L. -# (http://www.eficent.com) +# Copyright 2017-19 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 odoo.tests.common import TransactionCase diff --git a/account_partner_reconcile/views/res_partner_view.xml b/account_partner_reconcile/views/res_partner_view.xml index 060b70c3..52a2f257 100644 --- a/account_partner_reconcile/views/res_partner_view.xml +++ b/account_partner_reconcile/views/res_partner_view.xml @@ -1,6 +1,8 @@ - + + + res.partner.view.buttons res.partner