Skip to content

Commit

Permalink
[MIG] account_analytic_spread_by_tag: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
peluko00 committed Nov 20, 2024
1 parent d3b6bd9 commit d8cfa29
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 20 deletions.
25 changes: 17 additions & 8 deletions account_analytic_spread_by_tag/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down Expand Up @@ -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
=====
Expand Down Expand Up @@ -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
======================
Expand All @@ -106,7 +106,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/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 <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_spread_by_tag%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_spread_by_tag%0Aversion:%2018.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 @@ -124,6 +124,7 @@ Contributors
- `APSL-Nagarro <https://apsl.tech>`__ :

- Miquel Alzanillas
- Antoni Marroig <[email protected]>

Maintainers
-----------
Expand All @@ -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 <https://github.com/OCA/account-analytic/tree/17.0/account_analytic_spread_by_tag>`_ project on GitHub.
.. |maintainer-miquelalzanillas| image:: https://github.com/miquelalzanillas.png?size=40px
:target: https://github.com/miquelalzanillas
:alt: miquelalzanillas

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-miquelalzanillas|

This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/18.0/account_analytic_spread_by_tag>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 2 additions & 1 deletion account_analytic_spread_by_tag/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
1 change: 1 addition & 0 deletions account_analytic_spread_by_tag/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
- [APSL-Nagarro ](https://apsl.tech):
- Miquel Alzanillas
- Antoni Marroig \<<[email protected]>\>
15 changes: 9 additions & 6 deletions account_analytic_spread_by_tag/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ <h1 class="title">Account Analytic Spread by Tag</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:19ecceef57b9246c45a67e5978ff7469c18c16a08263ff2b8696ab05887c2f3c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/account-analytic/tree/17.0/account_analytic_spread_by_tag"><img alt="OCA/account-analytic" src="https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_analytic_spread_by_tag"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" 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 image-reference" 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 image-reference" href="https://github.com/OCA/account-analytic/tree/18.0/account_analytic_spread_by_tag"><img alt="OCA/account-analytic" src="https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-account_analytic_spread_by_tag"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>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
Expand Down Expand Up @@ -399,11 +399,11 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
Analytic Tags. Create a new tag a enable ‘Spread analytic amounts’.
Include or exclude analytic account while spreading setting filter in
the same view.</p>
<p><img alt="Analytic tag spreading configuration" src="https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_analytic_spread_by_tag/static/img/image.png" /></p>
<p><img alt="Analytic tag spreading configuration" src="https://raw.githubusercontent.com/OCA/account-analytic/18.0/account_analytic_spread_by_tag/static/img/image.png" /></p>
<p>Analytic Accounts: Go to Accounting &gt; Configuration &gt; Analytic
Accounting &gt; Analytic Accounts. Create new accounts as needed and set
tags mapping field.</p>
<p><img alt="Analytic account tag mapping" src="https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_analytic_spread_by_tag/static/img/image2.png" /></p>
<p><img alt="Analytic account tag mapping" src="https://raw.githubusercontent.com/OCA/account-analytic/18.0/account_analytic_spread_by_tag/static/img/image2.png" /></p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
Expand All @@ -427,7 +427,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
<li>Go to Accounting &gt; Analytic Accounting &gt; Analytic Items to see the
created analytic lines.</li>
</ol>
<p><img alt="Created analytic lines" src="https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_analytic_spread_by_tag/static/img/image3.png" /></p>
<p><img alt="Created analytic lines" src="https://raw.githubusercontent.com/OCA/account-analytic/18.0/account_analytic_spread_by_tag/static/img/image3.png" /></p>
<p>Cancelling the invoice the module will automatically delete the
associated analytic lines.</p>
<ol class="arabic simple" start="4">
Expand All @@ -447,7 +447,7 @@ <h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-analytic/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 to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_spread_by_tag%0Aversion:%2017.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-analytic/issues/new?body=module:%20account_analytic_spread_by_tag%0Aversion:%2018.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">
Expand All @@ -463,6 +463,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
<ul class="simple">
<li><a class="reference external" href="https://apsl.tech">APSL-Nagarro</a> :<ul>
<li>Miquel Alzanillas</li>
<li>Antoni Marroig &lt;<a class="reference external" href="mailto:amarroig&#64;apsl.net">amarroig&#64;apsl.net</a>&gt;</li>
</ul>
</li>
</ul>
Expand All @@ -476,7 +477,9 @@ <h2><a class="toc-backref" href="#toc-entry-8">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-analytic/tree/17.0/account_analytic_spread_by_tag">OCA/account-analytic</a> project on GitHub.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/miquelalzanillas"><img alt="miquelalzanillas" src="https://github.com/miquelalzanillas.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-analytic/tree/18.0/account_analytic_spread_by_tag">OCA/account-analytic</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
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='code']" position="after">
<div colspan="2">
<group string="Spreading" name="spreading">>
<group string="Spreading" name="spreading">
<field
name="mapped_analytic_tag_ids"
string="Tags Mapping"
widget="many2many_tags"
/>
name="mapped_analytic_tag_ids"
string="Tags Mapping"
widget="many2many_tags"
/>
</group>
</div>
</xpath>
Expand Down

0 comments on commit d8cfa29

Please sign in to comment.