From cb67bfebfeecce1c27b290d860d10a8743d0c94a Mon Sep 17 00:00:00 2001
From: Carlos
Date: Mon, 20 Nov 2023 13:12:37 +0100
Subject: [PATCH] [MIG] account_partner_reconcile: Migration to 16.0
---
account_partner_reconcile/README.rst | 12 ++++++------
account_partner_reconcile/__manifest__.py | 2 +-
account_partner_reconcile/models/res_partner.py | 1 -
.../static/description/index.html | 8 ++++----
.../odoo/addons/account_partner_reconcile | 1 +
setup/account_partner_reconcile/setup.py | 6 ++++++
6 files changed, 18 insertions(+), 12 deletions(-)
create mode 120000 setup/account_partner_reconcile/odoo/addons/account_partner_reconcile
create mode 100644 setup/account_partner_reconcile/setup.py
diff --git a/account_partner_reconcile/README.rst b/account_partner_reconcile/README.rst
index 96b1134373..da3cbf8bdb 100644
--- a/account_partner_reconcile/README.rst
+++ b/account_partner_reconcile/README.rst
@@ -7,7 +7,7 @@ Account Partner Reconcile
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !! source digest: sha256:04ec889db4224fc1ffea939167adbe6aa397644b80650f08d6a3532f64fecc24
+ !! source digest: sha256:e37c561d5a6e049d46b823fb81b2d719cbd3e04a898dad52589a5707a1ac4637
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -17,13 +17,13 @@ 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/15.0/account_partner_reconcile
+ :target: https://github.com/OCA/account-reconcile/tree/16.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-15-0/account-reconcile-15-0-account_partner_reconcile
+ :target: https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_partner_reconcile
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
- :target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=15.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -55,7 +55,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 to smash it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
@@ -86,6 +86,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 383a334dc7..9d815f183c 100644
--- a/account_partner_reconcile/__manifest__.py
+++ b/account_partner_reconcile/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "Account Partner Reconcile",
- "version": "15.0.1.0.0",
+ "version": "16.0.1.0.0",
"category": "Accounting",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-reconcile",
diff --git a/account_partner_reconcile/models/res_partner.py b/account_partner_reconcile/models/res_partner.py
index f1bb58cd87..06557553c5 100644
--- a/account_partner_reconcile/models/res_partner.py
+++ b/account_partner_reconcile/models/res_partner.py
@@ -13,7 +13,6 @@ def action_open_reconcile(self):
accounts = self.property_account_payable_id
if reconcile_mode == "customers":
accounts = self.property_account_receivable_id
-
action_context = {
"show_mode_selector": True,
"partner_ids": [self.id],
diff --git a/account_partner_reconcile/static/description/index.html b/account_partner_reconcile/static/description/index.html
index b1792a5304..d751797bc3 100644
--- a/account_partner_reconcile/static/description/index.html
+++ b/account_partner_reconcile/static/description/index.html
@@ -367,9 +367,9 @@ Account Partner Reconcile
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-!! source digest: sha256:04ec889db4224fc1ffea939167adbe6aa397644b80650f08d6a3532f64fecc24
+!! source digest: sha256:e37c561d5a6e049d46b823fb81b2d719cbd3e04a898dad52589a5707a1ac4637
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
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
@@ -404,7 +404,7 @@
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 to smash it by providing a detailed and welcomed
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.
@@ -429,7 +429,7 @@
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/setup/account_partner_reconcile/odoo/addons/account_partner_reconcile b/setup/account_partner_reconcile/odoo/addons/account_partner_reconcile
new file mode 120000
index 0000000000..3c96d56ffc
--- /dev/null
+++ b/setup/account_partner_reconcile/odoo/addons/account_partner_reconcile
@@ -0,0 +1 @@
+../../../../account_partner_reconcile
\ No newline at end of file
diff --git a/setup/account_partner_reconcile/setup.py b/setup/account_partner_reconcile/setup.py
new file mode 100644
index 0000000000..28c57bb640
--- /dev/null
+++ b/setup/account_partner_reconcile/setup.py
@@ -0,0 +1,6 @@
+import setuptools
+
+setuptools.setup(
+ setup_requires=['setuptools-odoo'],
+ odoo_addon=True,
+)