Skip to content

Commit

Permalink
[IMP] account_move_update_analytic: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mario committed Apr 25, 2024
1 parent 96f54fc commit 8ae3721
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 42 deletions.
43 changes: 26 additions & 17 deletions account_move_update_analytic/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ Account move update analytic
: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/16.0/account_move_update_analytic
:target: https://github.com/OCA/account-analytic/tree/17.0/account_move_update_analytic
: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-16-0/account-analytic-16-0-account_move_update_analytic
:target: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_move_update_analytic
: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=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows users to update the analytic distribution on journal items.
This module allows users to update the analytic distribution on journal
items.

**Table of contents**

Expand All @@ -38,42 +39,50 @@ This module allows users to update the analytic distribution on journal items.
Usage
=====

1. In a posted move and from customer invoices and vendor bills, go to the move line you want to update, and click on 'Update analytic' to open the wizard. (You also have the button directly on account move lines).
2. Current analytic account and tags are shown, you can select another one then click on Confirm
3. Analytic lines will be dropped from current analytic account and recreated on new analytic distribution.
1. In a posted move and from customer invoices and vendor bills, go to
the move line you want to update, and click on 'Update analytic' to
open the wizard. (You also have the button directly on account move
lines).
2. Current analytic account and tags are shown, you can select another
one then click on Confirm
3. Analytic lines will be dropped from current analytic account and
recreated on new analytic distribution.

.. figure:: https://raw.githubusercontent.com/OCA/account-analytic/16.0/account_move_update_analytic/static/description/update_from_invoice.png
|image1|

.. figure:: https://raw.githubusercontent.com/OCA/account-analytic/16.0/account_move_update_analytic/static/description/update_from_journals.png
|image2|

.. |image1| image:: https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_move_update_analytic/static/description/update_from_invoice.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_move_update_analytic/static/description/update_from_journals.png

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_move_update_analytic%0Aversion:%2016.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_move_update_analytic%0Aversion:%2017.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.

Credits
=======

Authors
~~~~~~~
-------

* Le Filament
* Moduon

Contributors
~~~~~~~~~~~~
------------

* Rémi - Le Filament <remi-filament>
* Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
* Rafael Blasco (`Moduon <https://www.moduon.team/>`__)
- Rémi - Le Filament <remi-filament>
- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
- Rafael Blasco (`Moduon <https://www.moduon.team/>`__)

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -96,6 +105,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-remi-filament| |maintainer-Shide|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 1 addition & 1 deletion account_move_update_analytic/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Account move update analytic",
"version": "16.0.1.0.2",
"version": "17.0.1.0.0",
"category": "Accounting & Finance",
"summary": "This module allows the user to update analytic on posted moves",
"author": "Le Filament, Moduon, Odoo Community Association (OCA)",
Expand Down
3 changes: 3 additions & 0 deletions account_move_update_analytic/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions account_move_update_analytic/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Rémi - Le Filament \<remi-filament\>
- Eduardo de Miguel ([Moduon](https://www.moduon.team/))
- Rafael Blasco ([Moduon](https://www.moduon.team/))
3 changes: 0 additions & 3 deletions account_move_update_analytic/readme/CONTRIBUTORS.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This module allows users to update the analytic distribution on journal items.
This module allows users to update the analytic distribution on journal
items.
12 changes: 12 additions & 0 deletions account_move_update_analytic/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
1. In a posted move and from customer invoices and vendor bills, go to
the move line you want to update, and click on 'Update analytic' to
open the wizard. (You also have the button directly on account move
lines).
2. Current analytic account and tags are shown, you can select another
one then click on Confirm
3. Analytic lines will be dropped from current analytic account and
recreated on new analytic distribution.

![](../static/description/update_from_invoice.png)

![](../static/description/update_from_journals.png)
7 changes: 0 additions & 7 deletions account_move_update_analytic/readme/USAGE.rst

This file was deleted.

29 changes: 16 additions & 13 deletions account_move_update_analytic/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -368,8 +369,9 @@ <h1 class="title">Account move update analytic</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:90fe6b71afa6e529b7bdcec7779a30b31a24f6f5e7822b4834cff8e860c8b8a9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/16.0/account_move_update_analytic"><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-16-0/account-analytic-16-0-account_move_update_analytic"><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=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module allows users to update the analytic distribution on journal items.</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/17.0/account_move_update_analytic"><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_move_update_analytic"><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>This module allows users to update the analytic distribution on journal
items.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -386,23 +388,24 @@ <h1 class="title">Account move update analytic</h1>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<ol class="arabic simple">
<li>In a posted move and from customer invoices and vendor bills, go to the move line you want to update, and click on ‘Update analytic’ to open the wizard. (You also have the button directly on account move lines).</li>
<li>Current analytic account and tags are shown, you can select another one then click on Confirm</li>
<li>Analytic lines will be dropped from current analytic account and recreated on new analytic distribution.</li>
<li>In a posted move and from customer invoices and vendor bills, go to
the move line you want to update, and click on ‘Update analytic’ to
open the wizard. (You also have the button directly on account move
lines).</li>
<li>Current analytic account and tags are shown, you can select another
one then click on Confirm</li>
<li>Analytic lines will be dropped from current analytic account and
recreated on new analytic distribution.</li>
</ol>
<div class="figure">
<img alt="https://raw.githubusercontent.com/OCA/account-analytic/16.0/account_move_update_analytic/static/description/update_from_invoice.png" src="https://raw.githubusercontent.com/OCA/account-analytic/16.0/account_move_update_analytic/static/description/update_from_invoice.png" />
</div>
<div class="figure">
<img alt="https://raw.githubusercontent.com/OCA/account-analytic/16.0/account_move_update_analytic/static/description/update_from_journals.png" src="https://raw.githubusercontent.com/OCA/account-analytic/16.0/account_move_update_analytic/static/description/update_from_journals.png" />
</div>
<p><img alt="image1" src="https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_move_update_analytic/static/description/update_from_invoice.png" /></p>
<p><img alt="image2" src="https://raw.githubusercontent.com/OCA/account-analytic/17.0/account_move_update_analytic/static/description/update_from_journals.png" /></p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">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_move_update_analytic%0Aversion:%2016.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_move_update_analytic%0Aversion:%2017.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 Down Expand Up @@ -431,7 +434,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
promote its widespread use.</p>
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
<p><a class="reference external image-reference" href="https://github.com/remi-filament"><img alt="remi-filament" src="https://github.com/remi-filament.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/Shide"><img alt="Shide" src="https://github.com/Shide.png?size=40px" /></a></p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-analytic/tree/16.0/account_move_update_analytic">OCA/account-analytic</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-analytic/tree/17.0/account_move_update_analytic">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

0 comments on commit 8ae3721

Please sign in to comment.