Skip to content

Commit

Permalink
[MIG] account_partner_reconcile: Migration to 13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Jan 29, 2020
1 parent 88c5a87 commit 129981a
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 38 deletions.
19 changes: 9 additions & 10 deletions account_partner_reconcile/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand All @@ -52,7 +52,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-reconcile/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 <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_partner_reconcile%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_partner_reconcile%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Expand All @@ -62,13 +62,12 @@ Credits
Authors
~~~~~~~

* Eficent
*
* ForgeFlow

Contributors
~~~~~~~~~~~~

* Jordi Ballester <jordi.ballester@eficent.com>
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Jaume Planas <[email protected]>

Maintainers
Expand All @@ -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 <https://github.com/OCA/account-reconcile/tree/12.0/account_partner_reconcile>`_ project on GitHub.
This module is part of the `OCA/account-reconcile <https://github.com/OCA/account-reconcile/tree/13.0/account_partner_reconcile>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
7 changes: 3 additions & 4 deletions account_partner_reconcile/__manifest__.py
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions account_partner_reconcile/models/res_partner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# 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
Expand All @@ -8,7 +7,6 @@
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)
Expand Down
4 changes: 2 additions & 2 deletions account_partner_reconcile/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* Jordi Ballester <jordi.ballester@eficent.com>
* Jaume Planas <[email protected]>
* Jordi Ballester <jordi.ballester@forgeflow.com>
* Jaume Planas <[email protected]>
4 changes: 2 additions & 2 deletions account_partner_reconcile/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -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.
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.
13 changes: 6 additions & 7 deletions account_partner_reconcile/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ <h1 class="title">Account Partner Reconcile</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/12.0/account_partner_reconcile"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-reconcile-12-0/account-reconcile-12-0-account_partner_reconcile"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/98/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module adds a button “Match Payments” in the customer &amp; suppliers form
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/13.0/account_partner_reconcile"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/account-reconcile-13-0/account-reconcile-13-0-account_partner_reconcile"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/98/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p>This module adds the buttons “Match Receivables” (&amp; “Match Payables”) in the customer (&amp; suppliers) form
view to allow to start the matching of invoices &amp; payments for that partner.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
Expand Down Expand Up @@ -402,22 +402,21 @@ <h1><a class="toc-backref" href="#id3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-reconcile/issues">GitHub Issues</a>.
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
<a class="reference external" href="https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_partner_reconcile%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/account-reconcile/issues/new?body=module:%20account_partner_reconcile%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id4">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id5">Authors</a></h2>
<ul class="simple">
<li>Eficent</li>
<li></li>
<li>ForgeFlow</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id6">Contributors</a></h2>
<ul class="simple">
<li>Jordi Ballester &lt;<a class="reference external" href="mailto:jordi.ballester&#64;eficent.com">jordi.ballester&#64;eficent.com</a>&gt;</li>
<li>Jordi Ballester &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
<li>Jaume Planas &lt;<a class="reference external" href="mailto:jaume.planas&#64;minorisa.net">jaume.planas&#64;minorisa.net</a>&gt;</li>
</ul>
</div>
Expand All @@ -428,7 +427,7 @@ <h2><a class="toc-backref" href="#id7">Maintainers</a></h2>
<p>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.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/12.0/account_partner_reconcile">OCA/account-reconcile</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-reconcile/tree/13.0/account_partner_reconcile">OCA/account-reconcile</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions account_partner_reconcile/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
3 changes: 1 addition & 2 deletions account_partner_reconcile/views/res_partner_view.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!--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).-->
<record id="res_partner_view_buttons" model="ir.ui.view">
<field name="name">res.partner.view.buttons</field>
Expand Down

0 comments on commit 129981a

Please sign in to comment.