From d2446e7b9c8c532aa59cad9a54b8ea4ec39d31de Mon Sep 17 00:00:00 2001 From: david-s73 Date: Tue, 17 Sep 2024 10:49:44 +0200 Subject: [PATCH] [IMP] website_sale_order_type: pre-commit auto fixes --- website_sale_order_type/README.rst | 49 +++++++++++-------- website_sale_order_type/pyproject.toml | 3 ++ .../readme/CONTRIBUTORS.md | 7 +++ .../readme/CONTRIBUTORS.rst | 8 --- website_sale_order_type/readme/DESCRIPTION.md | 11 +++++ .../readme/DESCRIPTION.rst | 6 --- website_sale_order_type/readme/USAGE.md | 6 +++ website_sale_order_type/readme/USAGE.rst | 3 -- .../static/description/index.html | 28 +++++++---- 9 files changed, 73 insertions(+), 48 deletions(-) create mode 100644 website_sale_order_type/pyproject.toml create mode 100644 website_sale_order_type/readme/CONTRIBUTORS.md delete mode 100644 website_sale_order_type/readme/CONTRIBUTORS.rst create mode 100644 website_sale_order_type/readme/DESCRIPTION.md delete mode 100644 website_sale_order_type/readme/DESCRIPTION.rst create mode 100644 website_sale_order_type/readme/USAGE.md delete mode 100644 website_sale_order_type/readme/USAGE.rst diff --git a/website_sale_order_type/README.rst b/website_sale_order_type/README.rst index 207f65e522..73a6a5a933 100644 --- a/website_sale_order_type/README.rst +++ b/website_sale_order_type/README.rst @@ -17,23 +17,28 @@ Website sale order type :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fe--commerce-lightgray.png?logo=github - :target: https://github.com/OCA/e-commerce/tree/16.0/website_sale_order_type + :target: https://github.com/OCA/e-commerce/tree/17.0/website_sale_order_type :alt: OCA/e-commerce .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-website_sale_order_type + :target: https://translation.odoo-community.org/projects/e-commerce-17-0/e-commerce-17-0-website_sale_order_type :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/e-commerce&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/e-commerce&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module allows `sale_order_type `__ to work with website_sale. +This module allows +`sale_order_type `__ +to work with website_sale. -This module is useful for users having a sale order type defined in their Partner form: -when these users buy a product in the e-commerce, the sale order generated will have the same sale order type that is defined in their Partner form. +This module is useful for users having a sale order type defined in +their Partner form: when these users buy a product in the e-commerce, +the sale order generated will have the same sale order type that is +defined in their Partner form. -Note that the sale order type is defined contact by contact and not at Company level. +Note that the sale order type is defined contact by contact and not at +Company level. **Table of contents** @@ -43,9 +48,12 @@ Note that the sale order type is defined contact by contact and not at Company l Usage ===== -#. In the backend (Sales -> Customers) set a sale order type in any contact; -#. Log in with the associated user in the e-commerce website and buy a product; -#. Check that the created sale oder has the same sale order type that has been set in the contact. +1. In the backend (Sales -> Customers) set a sale order type in any + contact; +2. Log in with the associated user in the e-commerce website and buy a + product; +3. Check that the created sale oder has the same sale order type that + has been set in the contact. Bug Tracker =========== @@ -53,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. @@ -61,24 +69,23 @@ Credits ======= Authors -~~~~~~~ +------- * Agile Business Group Contributors -~~~~~~~~~~~~ +------------ -* Simone Rubino +- Simone Rubino +- `Tecnativa `__: -* `Tecnativa `_: - - * João Marques - * Pilar Vargas - * Stefan Ungureanu + - João Marques + - Pilar Vargas + - Stefan Ungureanu Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -98,6 +105,6 @@ Current `maintainer `__: |maintainer-pilarvargas-tecnativa| -This module is part of the `OCA/e-commerce `_ project on GitHub. +This module is part of the `OCA/e-commerce `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_sale_order_type/pyproject.toml b/website_sale_order_type/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/website_sale_order_type/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/website_sale_order_type/readme/CONTRIBUTORS.md b/website_sale_order_type/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..4f9a5207f9 --- /dev/null +++ b/website_sale_order_type/readme/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +- Simone Rubino \<\> + +- [Tecnativa](https://www.tecnativa.com): + + > - João Marques + > - Pilar Vargas + > - Stefan Ungureanu diff --git a/website_sale_order_type/readme/CONTRIBUTORS.rst b/website_sale_order_type/readme/CONTRIBUTORS.rst deleted file mode 100644 index a26aad01ea..0000000000 --- a/website_sale_order_type/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,8 +0,0 @@ -* Simone Rubino - - -* `Tecnativa `_: - - * João Marques - * Pilar Vargas - * Stefan Ungureanu diff --git a/website_sale_order_type/readme/DESCRIPTION.md b/website_sale_order_type/readme/DESCRIPTION.md new file mode 100644 index 0000000000..ad8a237b6a --- /dev/null +++ b/website_sale_order_type/readme/DESCRIPTION.md @@ -0,0 +1,11 @@ +This module allows +[sale_order_type](https://github.com/OCA/sale-workflow/tree/14.0/sale_order_type) +to work with website_sale. + +This module is useful for users having a sale order type defined in +their Partner form: when these users buy a product in the e-commerce, +the sale order generated will have the same sale order type that is +defined in their Partner form. + +Note that the sale order type is defined contact by contact and not at +Company level. diff --git a/website_sale_order_type/readme/DESCRIPTION.rst b/website_sale_order_type/readme/DESCRIPTION.rst deleted file mode 100644 index 3735810d1b..0000000000 --- a/website_sale_order_type/readme/DESCRIPTION.rst +++ /dev/null @@ -1,6 +0,0 @@ -This module allows `sale_order_type `__ to work with website_sale. - -This module is useful for users having a sale order type defined in their Partner form: -when these users buy a product in the e-commerce, the sale order generated will have the same sale order type that is defined in their Partner form. - -Note that the sale order type is defined contact by contact and not at Company level. diff --git a/website_sale_order_type/readme/USAGE.md b/website_sale_order_type/readme/USAGE.md new file mode 100644 index 0000000000..d121d257d4 --- /dev/null +++ b/website_sale_order_type/readme/USAGE.md @@ -0,0 +1,6 @@ +1. In the backend (Sales -\> Customers) set a sale order type in any + contact; +2. Log in with the associated user in the e-commerce website and buy a + product; +3. Check that the created sale oder has the same sale order type that + has been set in the contact. diff --git a/website_sale_order_type/readme/USAGE.rst b/website_sale_order_type/readme/USAGE.rst deleted file mode 100644 index 8f0cd58bca..0000000000 --- a/website_sale_order_type/readme/USAGE.rst +++ /dev/null @@ -1,3 +0,0 @@ -#. In the backend (Sales -> Customers) set a sale order type in any contact; -#. Log in with the associated user in the e-commerce website and buy a product; -#. Check that the created sale oder has the same sale order type that has been set in the contact. diff --git a/website_sale_order_type/static/description/index.html b/website_sale_order_type/static/description/index.html index bdbd4df220..dba93000f3 100644 --- a/website_sale_order_type/static/description/index.html +++ b/website_sale_order_type/static/description/index.html @@ -368,11 +368,16 @@

Website sale order type

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:bf716c0a1ed188504ef08edc461d9eeacc64ef6f1f0bf80305cf463a7db2128a !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

-

This module allows sale_order_type to work with website_sale.

-

This module is useful for users having a sale order type defined in their Partner form: -when these users buy a product in the e-commerce, the sale order generated will have the same sale order type that is defined in their Partner form.

-

Note that the sale order type is defined contact by contact and not at Company level.

+

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

+

This module allows +sale_order_type +to work with website_sale.

+

This module is useful for users having a sale order type defined in +their Partner form: when these users buy a product in the e-commerce, +the sale order generated will have the same sale order type that is +defined in their Partner form.

+

Note that the sale order type is defined contact by contact and not at +Company level.

Table of contents

    @@ -389,9 +394,12 @@

    Website sale order type

    Usage

      -
    1. In the backend (Sales -> Customers) set a sale order type in any contact;
    2. -
    3. Log in with the associated user in the e-commerce website and buy a product;
    4. -
    5. Check that the created sale oder has the same sale order type that has been set in the contact.
    6. +
    7. In the backend (Sales -> Customers) set a sale order type in any +contact;
    8. +
    9. Log in with the associated user in the e-commerce website and buy a +product;
    10. +
    11. Check that the created sale oder has the same sale order type that +has been set in the contact.
    @@ -399,7 +407,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.

    @@ -435,7 +443,7 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    pilarvargas-tecnativa

    -

    This module is part of the OCA/e-commerce project on GitHub.

    +

    This module is part of the OCA/e-commerce project on GitHub.

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