From 466b51440b1b1dada63ce00628bca2f1e70d2c20 Mon Sep 17 00:00:00 2001 From: juancarlosonate-tecnativa Date: Tue, 7 Jan 2025 12:25:01 +0100 Subject: [PATCH] [IMP] partner_employee_quantity: pre-commit auto fixes --- partner_employee_quantity/README.rst | 63 +++++++++---------- partner_employee_quantity/pyproject.toml | 3 + partner_employee_quantity/readme/CONFIGURE.md | 5 ++ .../readme/CONFIGURE.rst | 4 -- .../readme/CONTRIBUTORS.md | 13 ++++ .../readme/CONTRIBUTORS.rst | 19 ------ .../{DESCRIPTION.rst => DESCRIPTION.md} | 4 +- partner_employee_quantity/readme/ROADMAP.md | 3 + partner_employee_quantity/readme/ROADMAP.rst | 3 - partner_employee_quantity/readme/USAGE.md | 5 ++ partner_employee_quantity/readme/USAGE.rst | 5 -- .../static/description/index.html | 31 +++++---- 12 files changed, 80 insertions(+), 78 deletions(-) create mode 100644 partner_employee_quantity/pyproject.toml create mode 100644 partner_employee_quantity/readme/CONFIGURE.md delete mode 100644 partner_employee_quantity/readme/CONFIGURE.rst create mode 100644 partner_employee_quantity/readme/CONTRIBUTORS.md delete mode 100644 partner_employee_quantity/readme/CONTRIBUTORS.rst rename partner_employee_quantity/readme/{DESCRIPTION.rst => DESCRIPTION.md} (71%) create mode 100644 partner_employee_quantity/readme/ROADMAP.md delete mode 100644 partner_employee_quantity/readme/ROADMAP.rst create mode 100644 partner_employee_quantity/readme/USAGE.md delete mode 100644 partner_employee_quantity/readme/USAGE.rst diff --git a/partner_employee_quantity/README.rst b/partner_employee_quantity/README.rst index 09be6322bc3..948ae504d62 100644 --- a/partner_employee_quantity/README.rst +++ b/partner_employee_quantity/README.rst @@ -17,19 +17,19 @@ Employee quantity in partners :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github - :target: https://github.com/OCA/partner-contact/tree/16.0/partner_employee_quantity + :target: https://github.com/OCA/partner-contact/tree/17.0/partner_employee_quantity :alt: OCA/partner-contact .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-partner_employee_quantity + :target: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-partner_employee_quantity :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/partner-contact&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module allows to set employee quantity for partners, and categorize them -by ranges. +This module allows to set employee quantity for partners, and categorize +them by ranges. **Table of contents** @@ -41,24 +41,24 @@ Configuration To manage available ranges, you need to: -#. Go to *Contacts > Configuration > Ranges by quantity of employees*. -#. Add or edit any range naming it. +1. Go to *Contacts > Configuration > Ranges by quantity of employees*. +2. Add or edit any range naming it. Usage ===== To use this module, you need to: -* Go to any partner's form. -* Enable *Is company?*. -* You will see a new group of fields called *Employee quantity*. +- Go to any partner's form. +- Enable *Is company?*. +- You will see a new group of fields called *Employee quantity*. Known issues / Roadmap ====================== -* Put in employee ranges numbers for low and upper limit for having a numerical - reference. -* Don't allow to overlap ranges. +- Put in employee ranges numbers for low and upper limit for having a + numerical reference. +- Don't allow to overlap ranges. Bug Tracker =========== @@ -66,7 +66,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. @@ -74,35 +74,34 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `__: +- `Tecnativa `__: - * Antonio Espinosa - * Rafael Blasco - * Jairo Llopis - * David Vidal - * Pedro M. Baeza - * César A. Sánchez + - Antonio Espinosa + - Rafael Blasco + - Jairo Llopis + - David Vidal + - Pedro M. Baeza + - César A. Sánchez -* Nikul Chaudhary +- Nikul Chaudhary +- Tharathip Chaweewongphan +- `Pesol `__: -* Tharathip Chaweewongphan + - Jonathan Oscategui Taza -* `Pesol `__: +- `Moduon `__: - * Jonathan Oscategui Taza - -* `Moduon `__: - * Eduardo López Peñalver + - Eduardo López Peñalver Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -128,6 +127,6 @@ Current `maintainers `__: |maintainer-pedrobaeza| |maintainer-rafaelbn| |maintainer-edlopen| -This module is part of the `OCA/partner-contact `_ project on GitHub. +This module is part of the `OCA/partner-contact `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/partner_employee_quantity/pyproject.toml b/partner_employee_quantity/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/partner_employee_quantity/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/partner_employee_quantity/readme/CONFIGURE.md b/partner_employee_quantity/readme/CONFIGURE.md new file mode 100644 index 00000000000..1cb4d198af4 --- /dev/null +++ b/partner_employee_quantity/readme/CONFIGURE.md @@ -0,0 +1,5 @@ +To manage available ranges, you need to: + +1. Go to *Contacts \> Configuration \> Ranges by quantity of + employees*. +2. Add or edit any range naming it. diff --git a/partner_employee_quantity/readme/CONFIGURE.rst b/partner_employee_quantity/readme/CONFIGURE.rst deleted file mode 100644 index 28c3285c7b1..00000000000 --- a/partner_employee_quantity/readme/CONFIGURE.rst +++ /dev/null @@ -1,4 +0,0 @@ -To manage available ranges, you need to: - -#. Go to *Contacts > Configuration > Ranges by quantity of employees*. -#. Add or edit any range naming it. diff --git a/partner_employee_quantity/readme/CONTRIBUTORS.md b/partner_employee_quantity/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..2237073e072 --- /dev/null +++ b/partner_employee_quantity/readme/CONTRIBUTORS.md @@ -0,0 +1,13 @@ +- [Tecnativa](https://www.tecnativa.com): + - Antonio Espinosa + - Rafael Blasco + - Jairo Llopis + - David Vidal + - Pedro M. Baeza + - César A. Sánchez +- Nikul Chaudhary \<\> +- Tharathip Chaweewongphan \<\> +- [Pesol](https://www.pesol.es): + - Jonathan Oscategui Taza \<\> +- [Moduon](https://www.moduon.es): + - Eduardo López Peñalver diff --git a/partner_employee_quantity/readme/CONTRIBUTORS.rst b/partner_employee_quantity/readme/CONTRIBUTORS.rst deleted file mode 100644 index 284b9b374f9..00000000000 --- a/partner_employee_quantity/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,19 +0,0 @@ -* `Tecnativa `__: - - * Antonio Espinosa - * Rafael Blasco - * Jairo Llopis - * David Vidal - * Pedro M. Baeza - * César A. Sánchez - -* Nikul Chaudhary - -* Tharathip Chaweewongphan - -* `Pesol `__: - - * Jonathan Oscategui Taza - -* `Moduon `__: - * Eduardo López Peñalver diff --git a/partner_employee_quantity/readme/DESCRIPTION.rst b/partner_employee_quantity/readme/DESCRIPTION.md similarity index 71% rename from partner_employee_quantity/readme/DESCRIPTION.rst rename to partner_employee_quantity/readme/DESCRIPTION.md index 87a15b6ba8f..9e218cb8e18 100644 --- a/partner_employee_quantity/readme/DESCRIPTION.rst +++ b/partner_employee_quantity/readme/DESCRIPTION.md @@ -1,2 +1,2 @@ -This module allows to set employee quantity for partners, and categorize them -by ranges. +This module allows to set employee quantity for partners, and categorize +them by ranges. diff --git a/partner_employee_quantity/readme/ROADMAP.md b/partner_employee_quantity/readme/ROADMAP.md new file mode 100644 index 00000000000..efbf3efaffa --- /dev/null +++ b/partner_employee_quantity/readme/ROADMAP.md @@ -0,0 +1,3 @@ +- Put in employee ranges numbers for low and upper limit for having a + numerical reference. +- Don't allow to overlap ranges. diff --git a/partner_employee_quantity/readme/ROADMAP.rst b/partner_employee_quantity/readme/ROADMAP.rst deleted file mode 100644 index d10f1de1782..00000000000 --- a/partner_employee_quantity/readme/ROADMAP.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Put in employee ranges numbers for low and upper limit for having a numerical - reference. -* Don't allow to overlap ranges. diff --git a/partner_employee_quantity/readme/USAGE.md b/partner_employee_quantity/readme/USAGE.md new file mode 100644 index 00000000000..b354cc65ad5 --- /dev/null +++ b/partner_employee_quantity/readme/USAGE.md @@ -0,0 +1,5 @@ +To use this module, you need to: + +- Go to any partner's form. +- Enable *Is company?*. +- You will see a new group of fields called *Employee quantity*. diff --git a/partner_employee_quantity/readme/USAGE.rst b/partner_employee_quantity/readme/USAGE.rst deleted file mode 100644 index c55077954d1..00000000000 --- a/partner_employee_quantity/readme/USAGE.rst +++ /dev/null @@ -1,5 +0,0 @@ -To use this module, you need to: - -* Go to any partner's form. -* Enable *Is company?*. -* You will see a new group of fields called *Employee quantity*. diff --git a/partner_employee_quantity/static/description/index.html b/partner_employee_quantity/static/description/index.html index 6072abade4d..51c7cbf07b2 100644 --- a/partner_employee_quantity/static/description/index.html +++ b/partner_employee_quantity/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,9 +369,9 @@

Employee quantity in partners

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:dac30388e92f0155a2ee00f030495b292be34b10aa9b1f79df2ab9ffadd90bad !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Mature License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

-

This module allows to set employee quantity for partners, and categorize them -by ranges.

+

Mature License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

+

This module allows to set employee quantity for partners, and categorize +them by ranges.

Table of contents

    @@ -406,8 +407,8 @@

    Usage

    Known issues / Roadmap

      -
    • Put in employee ranges numbers for low and upper limit for having a numerical -reference.
    • +
    • Put in employee ranges numbers for low and upper limit for having a +numerical reference.
    • Don’t allow to overlap ranges.
    @@ -416,7 +417,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,20 +446,24 @@

Contributors

  • Jonathan Oscategui Taza <info@pesol.es>
  • -
  • Moduon: -* Eduardo López Peñalver
  • +
  • Moduon:
      +
    • Eduardo López Peñalver
    • +
    +
  • Maintainers

    This module is maintained by the OCA.

    -Odoo Community Association + +Odoo Community Association +

    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.

    Current maintainers:

    pedrobaeza rafaelbn edlopen

    -

    This module is part of the OCA/partner-contact project on GitHub.

    +

    This module is part of the OCA/partner-contact project on GitHub.

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