From f41601d791b464fd85f90a14ae647584e2d1802a Mon Sep 17 00:00:00 2001 From: Antoni Marroig Campomar Date: Fri, 31 May 2024 14:45:09 +0200 Subject: [PATCH] [IMP] product_warranty: pre-commit auto fixes --- product_warranty/README.rst | 73 ++++++++++--------- product_warranty/pyproject.toml | 3 + .../readme/{CONFIGURE.rst => CONFIGURE.md} | 2 +- product_warranty/readme/CONTRIBUTORS.md | 11 +++ product_warranty/readme/CONTRIBUTORS.rst | 11 --- product_warranty/readme/CREDITS.md | 10 +++ product_warranty/readme/CREDITS.rst | 10 --- product_warranty/readme/DESCRIPTION.md | 3 + product_warranty/readme/DESCRIPTION.rst | 2 - product_warranty/readme/USAGE.md | 8 ++ product_warranty/readme/USAGE.rst | 8 -- .../static/description/index.html | 22 +++--- 12 files changed, 84 insertions(+), 79 deletions(-) create mode 100644 product_warranty/pyproject.toml rename product_warranty/readme/{CONFIGURE.rst => CONFIGURE.md} (55%) create mode 100644 product_warranty/readme/CONTRIBUTORS.md delete mode 100644 product_warranty/readme/CONTRIBUTORS.rst create mode 100644 product_warranty/readme/CREDITS.md delete mode 100644 product_warranty/readme/CREDITS.rst create mode 100644 product_warranty/readme/DESCRIPTION.md delete mode 100644 product_warranty/readme/DESCRIPTION.rst create mode 100644 product_warranty/readme/USAGE.md delete mode 100644 product_warranty/readme/USAGE.rst diff --git a/product_warranty/README.rst b/product_warranty/README.rst index efee7f26..7c12f762 100644 --- a/product_warranty/README.rst +++ b/product_warranty/README.rst @@ -17,19 +17,20 @@ Product Warranty :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Frma-lightgray.png?logo=github - :target: https://github.com/OCA/rma/tree/16.0/product_warranty + :target: https://github.com/OCA/rma/tree/17.0/product_warranty :alt: OCA/rma .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/rma-16-0/rma-16-0-product_warranty + :target: https://translation.odoo-community.org/projects/rma-17-0/rma-17-0-product_warranty :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/rma&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/rma&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module extends the functionality of 'Sales Management' to allows you -to set product warranty details on products and product-supplier relation. +This module extends the functionality of 'Sales Management' to allows +you to set product warranty details on products and product-supplier +relation. **Table of contents** @@ -47,12 +48,12 @@ Usage To use this module, you need to: -#. Go to *Sales > Products > Products (or Product Variants)* -#. Create a new product (or product variant) or edit an existing one - and set 'Warranty Duration' under 'Sales' tab. -#. If 'Purchase' module is installed, got to - *Sales > Products > Products (or Product Variants)*, go to 'Purchase' tab, - edit supplier information lines an set the warranty information for each one. +1. Go to *Sales > Products > Products (or Product Variants)* +2. Create a new product (or product variant) or edit an existing one and + set 'Warranty Duration' under 'Sales' tab. +3. If 'Purchase' module is installed, got to *Sales > Products > + Products (or Product Variants)*, go to 'Purchase' tab, edit supplier + information lines an set the warranty information for each one. Bug Tracker =========== @@ -60,7 +61,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. @@ -68,42 +69,42 @@ Credits ======= Authors -~~~~~~~ +------- * Akretion * Vauxoo Contributors -~~~~~~~~~~~~ +------------ -* Emmanuel Samyn -* Paulius Sladkevičius -* Benoît Guillot -* David Beal -* Maxime Chambreuil -* Joël Grand-Guillaume -* Ondřej Kuzník -* Yanina Aular -* Cyril Gaudin -* Bima Jati Wijaya -* Serpent Consulting Services Pvt. Ltd. +- Emmanuel Samyn +- Paulius Sladkevičius +- Benoît Guillot +- David Beal +- Maxime Chambreuil +- Joël Grand-Guillaume +- Ondřej Kuzník +- Yanina Aular +- Cyril Gaudin +- Bima Jati Wijaya +- Serpent Consulting Services Pvt. Ltd. Other credits -~~~~~~~~~~~~~ +------------- This module has been financially supported by: -* Inovera -* Akretion Brazil -* Akretion -* Savoir-faire Linux -* Credativ -* Vauxoo -* Camp 2 Camp -* Open Source Integrators +- Inovera +- Akretion Brazil +- Akretion +- Savoir-faire Linux +- Credativ +- Vauxoo +- Camp 2 Camp +- Open Source Integrators Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -126,6 +127,6 @@ Current `maintainers `__: |maintainer-osi-scampbell| |maintainer-max3903| -This module is part of the `OCA/rma `_ project on GitHub. +This module is part of the `OCA/rma `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/product_warranty/pyproject.toml b/product_warranty/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/product_warranty/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/product_warranty/readme/CONFIGURE.rst b/product_warranty/readme/CONFIGURE.md similarity index 55% rename from product_warranty/readme/CONFIGURE.rst rename to product_warranty/readme/CONFIGURE.md index 5cb5bf37..8c19e191 100644 --- a/product_warranty/readme/CONFIGURE.rst +++ b/product_warranty/readme/CONFIGURE.md @@ -1,2 +1,2 @@ To manage the available return instructions, enable debug mode and go to -*Sales -> Configuration -> Product Return Instructions*. +*Sales -\> Configuration -\> Product Return Instructions*. diff --git a/product_warranty/readme/CONTRIBUTORS.md b/product_warranty/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..ef5d4a2c --- /dev/null +++ b/product_warranty/readme/CONTRIBUTORS.md @@ -0,0 +1,11 @@ +- Emmanuel Samyn \<\> +- Paulius Sladkevičius \<\> +- Benoît Guillot \<\> +- David Beal \<\> +- Maxime Chambreuil \<\> +- Joël Grand-Guillaume \<\> +- Ondřej Kuzník \<\> +- Yanina Aular \<\> +- Cyril Gaudin \<\> +- Bima Jati Wijaya \<\> +- Serpent Consulting Services Pvt. Ltd. \<\> diff --git a/product_warranty/readme/CONTRIBUTORS.rst b/product_warranty/readme/CONTRIBUTORS.rst deleted file mode 100644 index 48dad312..00000000 --- a/product_warranty/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,11 +0,0 @@ -* Emmanuel Samyn -* Paulius Sladkevičius -* Benoît Guillot -* David Beal -* Maxime Chambreuil -* Joël Grand-Guillaume -* Ondřej Kuzník -* Yanina Aular -* Cyril Gaudin -* Bima Jati Wijaya -* Serpent Consulting Services Pvt. Ltd. diff --git a/product_warranty/readme/CREDITS.md b/product_warranty/readme/CREDITS.md new file mode 100644 index 00000000..236b8fb2 --- /dev/null +++ b/product_warranty/readme/CREDITS.md @@ -0,0 +1,10 @@ +This module has been financially supported by: + +- Inovera \<\> +- Akretion Brazil \<\> +- Akretion \<\> +- Savoir-faire Linux \<\> +- Credativ \<\> +- Vauxoo \<\> +- Camp 2 Camp \<\> +- Open Source Integrators \<\> diff --git a/product_warranty/readme/CREDITS.rst b/product_warranty/readme/CREDITS.rst deleted file mode 100644 index b6f1055f..00000000 --- a/product_warranty/readme/CREDITS.rst +++ /dev/null @@ -1,10 +0,0 @@ -This module has been financially supported by: - -* Inovera -* Akretion Brazil -* Akretion -* Savoir-faire Linux -* Credativ -* Vauxoo -* Camp 2 Camp -* Open Source Integrators diff --git a/product_warranty/readme/DESCRIPTION.md b/product_warranty/readme/DESCRIPTION.md new file mode 100644 index 00000000..256bf668 --- /dev/null +++ b/product_warranty/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module extends the functionality of 'Sales Management' to allows +you to set product warranty details on products and product-supplier +relation. diff --git a/product_warranty/readme/DESCRIPTION.rst b/product_warranty/readme/DESCRIPTION.rst deleted file mode 100644 index c0788acf..00000000 --- a/product_warranty/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module extends the functionality of 'Sales Management' to allows you -to set product warranty details on products and product-supplier relation. diff --git a/product_warranty/readme/USAGE.md b/product_warranty/readme/USAGE.md new file mode 100644 index 00000000..d3023016 --- /dev/null +++ b/product_warranty/readme/USAGE.md @@ -0,0 +1,8 @@ +To use this module, you need to: + +1. Go to *Sales \> Products \> Products (or Product Variants)* +2. Create a new product (or product variant) or edit an existing one + and set 'Warranty Duration' under 'Sales' tab. +3. If 'Purchase' module is installed, got to *Sales \> Products \> + Products (or Product Variants)*, go to 'Purchase' tab, edit supplier + information lines an set the warranty information for each one. diff --git a/product_warranty/readme/USAGE.rst b/product_warranty/readme/USAGE.rst deleted file mode 100644 index bf3f1e20..00000000 --- a/product_warranty/readme/USAGE.rst +++ /dev/null @@ -1,8 +0,0 @@ -To use this module, you need to: - -#. Go to *Sales > Products > Products (or Product Variants)* -#. Create a new product (or product variant) or edit an existing one - and set 'Warranty Duration' under 'Sales' tab. -#. If 'Purchase' module is installed, got to - *Sales > Products > Products (or Product Variants)*, go to 'Purchase' tab, - edit supplier information lines an set the warranty information for each one. diff --git a/product_warranty/static/description/index.html b/product_warranty/static/description/index.html index 94287e3b..af21197a 100644 --- a/product_warranty/static/description/index.html +++ b/product_warranty/static/description/index.html @@ -1,4 +1,3 @@ - @@ -369,9 +368,10 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:e2a2dd1d73c3c13ce90b5583f8c54c1a820658328338ddbf933ee5dc52dff6bc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Production/Stable License: AGPL-3 OCA/rma Translate me on Weblate Try me on Runboat

-

This module extends the functionality of ‘Sales Management’ to allows you -to set product warranty details on products and product-supplier relation.

+

Production/Stable License: AGPL-3 OCA/rma Translate me on Weblate Try me on Runboat

+

This module extends the functionality of ‘Sales Management’ to allows +you to set product warranty details on products and product-supplier +relation.

Table of contents

    @@ -397,11 +397,11 @@ to set product warranty details on products and product-supplier relation.

    To use this module, you need to:

    1. Go to Sales > Products > Products (or Product Variants)
    2. -
    3. Create a new product (or product variant) or edit an existing one -and set ‘Warranty Duration’ under ‘Sales’ tab.
    4. -
    5. If ‘Purchase’ module is installed, got to -Sales > Products > Products (or Product Variants), go to ‘Purchase’ tab, -edit supplier information lines an set the warranty information for each one.
    6. +
    7. Create a new product (or product variant) or edit an existing one and +set ‘Warranty Duration’ under ‘Sales’ tab.
    8. +
    9. If ‘Purchase’ module is installed, got to Sales > Products > +Products (or Product Variants), go to ‘Purchase’ tab, edit supplier +information lines an set the warranty information for each one.
@@ -409,7 +409,7 @@ edit supplier information lines an set the warranty information for each one.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.

@@ -460,7 +460,7 @@ mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainers:

osi-scampbell max3903

-

This module is part of the OCA/rma project on GitHub.

+

This module is part of the OCA/rma project on GitHub.

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