Skip to content

Commit

Permalink
[IMP] account_move_tier_validation: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkhao committed Nov 11, 2024
1 parent 6451591 commit 4f314a7
Show file tree
Hide file tree
Showing 12 changed files with 66 additions and 44 deletions.
40 changes: 23 additions & 17 deletions account_move_tier_validation/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ Account Move Tier Validation
: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--invoicing-lightgray.png?logo=github
:target: https://github.com/OCA/account-invoicing/tree/16.0/account_move_tier_validation
:target: https://github.com/OCA/account-invoicing/tree/18.0/account_move_tier_validation
:alt: OCA/account-invoicing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_move_tier_validation
:target: https://translation.odoo-community.org/projects/account-invoicing-18-0/account-invoicing-18-0-account_move_tier_validation
: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-invoicing&target_branch=16.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-invoicing&target_branch=18.0
:alt: Try me on Runboat

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

This module extends the functionality of Account Move to support a tier validation process.
This module extends the functionality of Account Move to support a tier
validation process.

**Table of contents**

Expand All @@ -38,15 +39,16 @@ This module extends the functionality of Account Move to support a tier validati
Installation
============

This module depends on base_tier_validation. You can find it at [OCA/server-ux](https://github.com/OCA/server-ux)
This module depends on base_tier_validation. You can find it at
[OCA/server-ux](https://github.com/OCA/server-ux)

Configuration
=============

To configure this module, you need to:

#. Go to *Settings > Technical > Tier Validations > Tier Definition*.
#. Create as many tiers as you want for Account Move model.
1. Go to *Settings > Technical > Tier Validations > Tier Definition*.
2. Create as many tiers as you want for Account Move model.

Usage
=====
Expand All @@ -55,40 +57,44 @@ To use this module, you need to:

1. Create an Account Invoice triggering at least one "Tier Definition".
2. Click on Request Validation button.
3. Under the tab Reviews have a look to pending reviews and their statuses.
3. Under the tab Reviews have a look to pending reviews and their
statuses.
4. Once all reviews are validated click on Post.

Additional features:

* You can filter the Account Invoices requesting your review through the filter Needs my Review.
* User with rights to confirm the Account Invoice (validate all tiers that would be generated) can directly do the operation, this is, there is no need for her/him to request a validation.
- You can filter the Account Invoices requesting your review through
the filter Needs my Review.
- User with rights to confirm the Account Invoice (validate all tiers
that would be generated) can directly do the operation, this is,
there is no need for her/him to request a validation.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-invoicing/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-invoicing/issues/new?body=module:%20account_move_tier_validation%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/account-invoicing/issues/new?body=module:%20account_move_tier_validation%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.

Credits
=======

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

* PESOL

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

* Odoo Perú <[email protected]>
* Tharathip Chaweewongphan <[email protected]>
- Odoo Perú <[email protected]>
- Tharathip Chaweewongphan <[email protected]>

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

This module is maintained by the OCA.

Expand All @@ -100,6 +106,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-invoicing <https://github.com/OCA/account-invoicing/tree/16.0/account_move_tier_validation>`_ project on GitHub.
This module is part of the `OCA/account-invoicing <https://github.com/OCA/account-invoicing/tree/18.0/account_move_tier_validation>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_move_tier_validation/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
5 changes: 5 additions & 0 deletions account_move_tier_validation/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
To configure this module, you need to:

1. Go to *Settings \> Technical \> Tier Validations \> Tier
Definition*.
2. Create as many tiers as you want for Account Move model.
4 changes: 0 additions & 4 deletions account_move_tier_validation/readme/CONFIGURE.rst

This file was deleted.

2 changes: 2 additions & 0 deletions account_move_tier_validation/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Odoo Perú \<<[email protected]>\>
- Tharathip Chaweewongphan \<<[email protected]>\>
2 changes: 0 additions & 2 deletions account_move_tier_validation/readme/CONTRIBUTORS.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
This module extends the functionality of Account Move to support a tier validation process.
This module extends the functionality of Account Move to support a tier
validation process.
2 changes: 2 additions & 0 deletions account_move_tier_validation/readme/INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module depends on base_tier_validation. You can find it at
\[OCA/server-ux\](<https://github.com/OCA/server-ux>)
1 change: 0 additions & 1 deletion account_move_tier_validation/readme/INSTALL.rst

This file was deleted.

15 changes: 15 additions & 0 deletions account_move_tier_validation/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
To use this module, you need to:

1. Create an Account Invoice triggering at least one "Tier Definition".
2. Click on Request Validation button.
3. Under the tab Reviews have a look to pending reviews and their
statuses.
4. Once all reviews are validated click on Post.

Additional features:

- You can filter the Account Invoices requesting your review through the
filter Needs my Review.
- User with rights to confirm the Account Invoice (validate all tiers
that would be generated) can directly do the operation, this is, there
is no need for her/him to request a validation.
11 changes: 0 additions & 11 deletions account_move_tier_validation/readme/USAGE.rst

This file was deleted.

22 changes: 14 additions & 8 deletions account_move_tier_validation/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@ <h1 class="title">Account Move Tier Validation</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:eaf6eccc3300603b144a7af36396a1d4487dc8509e3df59a1dd0341eefde8759
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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-invoicing/tree/16.0/account_move_tier_validation"><img alt="OCA/account-invoicing" src="https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_move_tier_validation"><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-invoicing&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 extends the functionality of Account Move to support a tier validation process.</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-invoicing/tree/18.0/account_move_tier_validation"><img alt="OCA/account-invoicing" src="https://img.shields.io/badge/github-OCA%2Faccount--invoicing-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-invoicing-18-0/account-invoicing-18-0-account_move_tier_validation"><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-invoicing&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 extends the functionality of Account Move to support a tier
validation process.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -388,7 +389,8 @@ <h1 class="title">Account Move Tier Validation</h1>
</div>
<div class="section" id="installation">
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
<p>This module depends on base_tier_validation. You can find it at [OCA/server-ux](<a class="reference external" href="https://github.com/OCA/server-ux">https://github.com/OCA/server-ux</a>)</p>
<p>This module depends on base_tier_validation. You can find it at
[OCA/server-ux](<a class="reference external" href="https://github.com/OCA/server-ux">https://github.com/OCA/server-ux</a>)</p>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
Expand All @@ -404,21 +406,25 @@ <h1><a class="toc-backref" href="#toc-entry-3">Usage</a></h1>
<ol class="arabic simple">
<li>Create an Account Invoice triggering at least one “Tier Definition”.</li>
<li>Click on Request Validation button.</li>
<li>Under the tab Reviews have a look to pending reviews and their statuses.</li>
<li>Under the tab Reviews have a look to pending reviews and their
statuses.</li>
<li>Once all reviews are validated click on Post.</li>
</ol>
<p>Additional features:</p>
<ul class="simple">
<li>You can filter the Account Invoices requesting your review through the filter Needs my Review.</li>
<li>User with rights to confirm the Account Invoice (validate all tiers that would be generated) can directly do the operation, this is, there is no need for her/him to request a validation.</li>
<li>You can filter the Account Invoices requesting your review through
the filter Needs my Review.</li>
<li>User with rights to confirm the Account Invoice (validate all tiers
that would be generated) can directly do the operation, this is,
there is no need for her/him to request a validation.</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<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-invoicing/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-invoicing/issues/new?body=module:%20account_move_tier_validation%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-invoicing/issues/new?body=module:%20account_move_tier_validation%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 @@ -445,7 +451,7 @@ <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-invoicing/tree/16.0/account_move_tier_validation">OCA/account-invoicing</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-invoicing/tree/18.0/account_move_tier_validation">OCA/account-invoicing</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 4f314a7

Please sign in to comment.