From d8cfa29e4645d40a96d0fe98cbabeffbbedc24be Mon Sep 17 00:00:00 2001
From: Antoni Marroig Campomar
Date: Wed, 20 Nov 2024 12:36:04 +0100
Subject: [PATCH] [MIG] account_analytic_spread_by_tag: Migration to 18.0
---
account_analytic_spread_by_tag/README.rst | 25 +++++++++++++------
.../__manifest__.py | 3 ++-
.../readme/CONTRIBUTORS.md | 1 +
.../static/description/index.html | 15 ++++++-----
.../views/account_analytic_account_views.xml | 10 ++++----
5 files changed, 34 insertions(+), 20 deletions(-)
diff --git a/account_analytic_spread_by_tag/README.rst b/account_analytic_spread_by_tag/README.rst
index 31dd834f03..278b4358a1 100644
--- a/account_analytic_spread_by_tag/README.rst
+++ b/account_analytic_spread_by_tag/README.rst
@@ -17,13 +17,13 @@ Account Analytic Spread by Tag
: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--analytic-lightgray.png?logo=github
- :target: https://github.com/OCA/account-analytic/tree/17.0/account_analytic_spread_by_tag
+ :target: https://github.com/OCA/account-analytic/tree/18.0/account_analytic_spread_by_tag
:alt: OCA/account-analytic
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_analytic_spread_by_tag
+ :target: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-account_analytic_spread_by_tag
: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-analytic&target_branch=17.0
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=18.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -57,8 +57,8 @@ tags mapping field.
|Analytic account tag mapping|
-.. |Analytic tag spreading configuration| image:: https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_analytic_spread_by_tag/static/img/image.png
-.. |Analytic account tag mapping| image:: https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_analytic_spread_by_tag/static/img/image2.png
+.. |Analytic tag spreading configuration| image:: https://raw.githubusercontent.com/OCA/account-analytic/18.0/account_analytic_spread_by_tag/static/img/image.png
+.. |Analytic account tag mapping| image:: https://raw.githubusercontent.com/OCA/account-analytic/18.0/account_analytic_spread_by_tag/static/img/image2.png
Usage
=====
@@ -92,7 +92,7 @@ associated analytic lines.
4. Go to the invoice and click on "Action" > "Cancel". The associated
analytic lines will be deleted.
-.. |Created analytic lines| image:: https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_analytic_spread_by_tag/static/img/image3.png
+.. |Created analytic lines| image:: https://raw.githubusercontent.com/OCA/account-analytic/18.0/account_analytic_spread_by_tag/static/img/image3.png
Known issues / Roadmap
======================
@@ -106,7 +106,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.
@@ -124,6 +124,7 @@ Contributors
- `APSL-Nagarro `__ :
- Miquel Alzanillas
+ - Antoni Marroig
Maintainers
-----------
@@ -138,6 +139,14 @@ 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-analytic `_ project on GitHub.
+.. |maintainer-miquelalzanillas| image:: https://github.com/miquelalzanillas.png?size=40px
+ :target: https://github.com/miquelalzanillas
+ :alt: miquelalzanillas
+
+Current `maintainer `__:
+
+|maintainer-miquelalzanillas|
+
+This module is part of the `OCA/account-analytic `_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/account_analytic_spread_by_tag/__manifest__.py b/account_analytic_spread_by_tag/__manifest__.py
index 63fe7f77d9..421065daac 100644
--- a/account_analytic_spread_by_tag/__manifest__.py
+++ b/account_analytic_spread_by_tag/__manifest__.py
@@ -3,9 +3,10 @@
{
"name": "Account Analytic Spread by Tag",
- "version": "17.0.1.0.1",
+ "version": "18.0.1.0.0",
"author": "Miquel Alzanillas (APSL-Nagarro), Odoo Community Association (OCA)",
"category": "Account",
+ "maintainers": ["miquelalzanillas"],
"website": "https://github.com/OCA/account-analytic",
"depends": ["account_analytic_tag"],
"data": [
diff --git a/account_analytic_spread_by_tag/readme/CONTRIBUTORS.md b/account_analytic_spread_by_tag/readme/CONTRIBUTORS.md
index 4a233015b2..bc9abbdd5e 100644
--- a/account_analytic_spread_by_tag/readme/CONTRIBUTORS.md
+++ b/account_analytic_spread_by_tag/readme/CONTRIBUTORS.md
@@ -1,2 +1,3 @@
- [APSL-Nagarro ](https://apsl.tech):
- Miquel Alzanillas
+ - Antoni Marroig \<\>
diff --git a/account_analytic_spread_by_tag/static/description/index.html b/account_analytic_spread_by_tag/static/description/index.html
index 2ead3b2f4d..032b149f8d 100644
--- a/account_analytic_spread_by_tag/static/description/index.html
+++ b/account_analytic_spread_by_tag/static/description/index.html
@@ -369,7 +369,7 @@ Account Analytic Spread by Tag
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:19ecceef57b9246c45a67e5978ff7469c18c16a08263ff2b8696ab05887c2f3c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
-
+
This module distributes the amount of the accounting entry among all the
analytical accounts that share the same analytical tag. This module is
particularly useful for managing costs in projects, departments, or any
@@ -399,11 +399,11 @@
Analytic Tags. Create a new tag a enable ‘Spread analytic amounts’.
Include or exclude analytic account while spreading setting filter in
the same view.
-
+
Analytic Accounts: Go to Accounting > Configuration > Analytic
Accounting > Analytic Accounts. Create new accounts as needed and set
tags mapping field.
-
+
@@ -427,7 +427,7 @@
Go to Accounting > Analytic Accounting > Analytic Items to see the
created analytic lines.
-
+
Cancelling the invoice the module will automatically delete the
associated analytic lines.
@@ -447,7 +447,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.
@@ -463,6 +463,7 @@
@@ -476,7 +477,9 @@
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-analytic project on GitHub.
+
Current maintainer:
+
+
This module is part of the OCA/account-analytic project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/account_analytic_spread_by_tag/views/account_analytic_account_views.xml b/account_analytic_spread_by_tag/views/account_analytic_account_views.xml
index 72d4199962..d5586dc94c 100644
--- a/account_analytic_spread_by_tag/views/account_analytic_account_views.xml
+++ b/account_analytic_spread_by_tag/views/account_analytic_account_views.xml
@@ -17,12 +17,12 @@
- >
+
+ name="mapped_analytic_tag_ids"
+ string="Tags Mapping"
+ widget="many2many_tags"
+ />