From 4f314a7695a66e517682e69cf545c778fc5666a1 Mon Sep 17 00:00:00 2001 From: Kevin Khao Date: Sat, 2 Nov 2024 14:57:14 +0200 Subject: [PATCH] [IMP] account_move_tier_validation: pre-commit auto fixes --- account_move_tier_validation/README.rst | 40 +++++++++++-------- account_move_tier_validation/pyproject.toml | 3 ++ .../readme/CONFIGURE.md | 5 +++ .../readme/CONFIGURE.rst | 4 -- .../readme/CONTRIBUTORS.md | 2 + .../readme/CONTRIBUTORS.rst | 2 - .../{DESCRIPTION.rst => DESCRIPTION.md} | 3 +- .../readme/INSTALL.md | 2 + .../readme/INSTALL.rst | 1 - account_move_tier_validation/readme/USAGE.md | 15 +++++++ account_move_tier_validation/readme/USAGE.rst | 11 ----- .../static/description/index.html | 22 ++++++---- 12 files changed, 66 insertions(+), 44 deletions(-) create mode 100644 account_move_tier_validation/pyproject.toml create mode 100644 account_move_tier_validation/readme/CONFIGURE.md delete mode 100644 account_move_tier_validation/readme/CONFIGURE.rst create mode 100644 account_move_tier_validation/readme/CONTRIBUTORS.md delete mode 100644 account_move_tier_validation/readme/CONTRIBUTORS.rst rename account_move_tier_validation/readme/{DESCRIPTION.rst => DESCRIPTION.md} (69%) create mode 100644 account_move_tier_validation/readme/INSTALL.md delete mode 100644 account_move_tier_validation/readme/INSTALL.rst create mode 100644 account_move_tier_validation/readme/USAGE.md delete mode 100644 account_move_tier_validation/readme/USAGE.rst diff --git a/account_move_tier_validation/README.rst b/account_move_tier_validation/README.rst index dc38eb64b4d..9ba0e0b6269 100644 --- a/account_move_tier_validation/README.rst +++ b/account_move_tier_validation/README.rst @@ -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** @@ -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 ===== @@ -55,13 +57,17 @@ 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 =========== @@ -69,7 +75,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. @@ -77,18 +83,18 @@ Credits ======= Authors -~~~~~~~ +------- * PESOL Contributors -~~~~~~~~~~~~ +------------ -* Odoo Perú -* Tharathip Chaweewongphan +- Odoo Perú +- Tharathip Chaweewongphan Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -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 `_ project on GitHub. +This module is part of the `OCA/account-invoicing `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_move_tier_validation/pyproject.toml b/account_move_tier_validation/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/account_move_tier_validation/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/account_move_tier_validation/readme/CONFIGURE.md b/account_move_tier_validation/readme/CONFIGURE.md new file mode 100644 index 00000000000..94a3ee02898 --- /dev/null +++ b/account_move_tier_validation/readme/CONFIGURE.md @@ -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. diff --git a/account_move_tier_validation/readme/CONFIGURE.rst b/account_move_tier_validation/readme/CONFIGURE.rst deleted file mode 100644 index 086e7fdc078..00000000000 --- a/account_move_tier_validation/readme/CONFIGURE.rst +++ /dev/null @@ -1,4 +0,0 @@ -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. diff --git a/account_move_tier_validation/readme/CONTRIBUTORS.md b/account_move_tier_validation/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..f65685503f3 --- /dev/null +++ b/account_move_tier_validation/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Odoo Perú \<\> +- Tharathip Chaweewongphan \<\> diff --git a/account_move_tier_validation/readme/CONTRIBUTORS.rst b/account_move_tier_validation/readme/CONTRIBUTORS.rst deleted file mode 100644 index 927bf7299be..00000000000 --- a/account_move_tier_validation/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Odoo Perú -* Tharathip Chaweewongphan diff --git a/account_move_tier_validation/readme/DESCRIPTION.rst b/account_move_tier_validation/readme/DESCRIPTION.md similarity index 69% rename from account_move_tier_validation/readme/DESCRIPTION.rst rename to account_move_tier_validation/readme/DESCRIPTION.md index e4953d190bb..e8983779482 100644 --- a/account_move_tier_validation/readme/DESCRIPTION.rst +++ b/account_move_tier_validation/readme/DESCRIPTION.md @@ -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. diff --git a/account_move_tier_validation/readme/INSTALL.md b/account_move_tier_validation/readme/INSTALL.md new file mode 100644 index 00000000000..2d41ac1af25 --- /dev/null +++ b/account_move_tier_validation/readme/INSTALL.md @@ -0,0 +1,2 @@ +This module depends on base_tier_validation. You can find it at +\[OCA/server-ux\]() diff --git a/account_move_tier_validation/readme/INSTALL.rst b/account_move_tier_validation/readme/INSTALL.rst deleted file mode 100644 index 73504ab3e6a..00000000000 --- a/account_move_tier_validation/readme/INSTALL.rst +++ /dev/null @@ -1 +0,0 @@ -This module depends on base_tier_validation. You can find it at [OCA/server-ux](https://github.com/OCA/server-ux) diff --git a/account_move_tier_validation/readme/USAGE.md b/account_move_tier_validation/readme/USAGE.md new file mode 100644 index 00000000000..a2ec65fdc13 --- /dev/null +++ b/account_move_tier_validation/readme/USAGE.md @@ -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. diff --git a/account_move_tier_validation/readme/USAGE.rst b/account_move_tier_validation/readme/USAGE.rst deleted file mode 100644 index defbea41d30..00000000000 --- a/account_move_tier_validation/readme/USAGE.rst +++ /dev/null @@ -1,11 +0,0 @@ -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. diff --git a/account_move_tier_validation/static/description/index.html b/account_move_tier_validation/static/description/index.html index 7f5d6773d04..a833187416a 100644 --- a/account_move_tier_validation/static/description/index.html +++ b/account_move_tier_validation/static/description/index.html @@ -369,8 +369,9 @@

Account Move Tier Validation

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:eaf6eccc3300603b144a7af36396a1d4487dc8509e3df59a1dd0341eefde8759 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

-

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

+

Beta License: AGPL-3 OCA/account-invoicing Translate me on Weblate Try me on Runboat

+

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

Table of contents

    @@ -388,7 +389,8 @@

    Account Move Tier Validation

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

@@ -404,13 +406,17 @@

Usage

  1. Create an Account Invoice triggering at least one “Tier Definition”.
  2. Click on Request Validation button.
  3. -
  4. Under the tab Reviews have a look to pending reviews and their statuses.
  5. +
  6. Under the tab Reviews have a look to pending reviews and their +statuses.
  7. 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.
@@ -418,7 +424,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.

@@ -445,7 +451,7 @@

Maintainers

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 project on GitHub.

+

This module is part of the OCA/account-invoicing project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.