From 222a23bcd22cc1babeddccbe5112613fa55d5fe1 Mon Sep 17 00:00:00 2001 From: arantxa-s73 Date: Tue, 17 Sep 2024 10:57:33 +0200 Subject: [PATCH] [IMP] loyalty_partner_applicability: pre-commit auto fixes --- loyalty_partner_applicability/README.rst | 25 ++++++++++--------- loyalty_partner_applicability/__manifest__.py | 5 ++-- .../models/res_config_settings.py | 1 - loyalty_partner_applicability/pyproject.toml | 3 +++ .../readme/CONTRIBUTORS.md | 2 ++ .../readme/CONTRIBUTORS.rst | 3 --- .../readme/DESCRIPTION.md | 3 +++ .../readme/DESCRIPTION.rst | 2 -- .../static/description/index.html | 22 +++++++++------- 9 files changed, 37 insertions(+), 29 deletions(-) create mode 100644 loyalty_partner_applicability/pyproject.toml create mode 100644 loyalty_partner_applicability/readme/CONTRIBUTORS.md delete mode 100644 loyalty_partner_applicability/readme/CONTRIBUTORS.rst create mode 100644 loyalty_partner_applicability/readme/DESCRIPTION.md delete mode 100644 loyalty_partner_applicability/readme/DESCRIPTION.rst diff --git a/loyalty_partner_applicability/README.rst b/loyalty_partner_applicability/README.rst index 6008a618..4d2e13e7 100644 --- a/loyalty_partner_applicability/README.rst +++ b/loyalty_partner_applicability/README.rst @@ -17,19 +17,20 @@ Loyalty Partner Applicability :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--promotion-lightgray.png?logo=github - :target: https://github.com/OCA/sale-promotion/tree/16.0/loyalty_partner_applicability + :target: https://github.com/OCA/sale-promotion/tree/17.0/loyalty_partner_applicability :alt: OCA/sale-promotion .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-promotion-16-0/sale-promotion-16-0-loyalty_partner_applicability + :target: https://translation.odoo-community.org/projects/sale-promotion-17-0/sale-promotion-17-0-loyalty_partner_applicability :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/sale-promotion&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-promotion&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module extends the Loyalty functionality by allowing the definition of a customer -filter for promotion rules. This module is a base to be extended. +This module extends the Loyalty functionality by allowing the definition +of a customer filter for promotion rules. This module is a base to be +extended. **Table of contents** @@ -42,7 +43,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. @@ -50,19 +51,19 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa Contributors -~~~~~~~~~~~~ +------------ -* `Tecnativa `_: +- `Tecnativa `__: - * Pilar Vargas + - Pilar Vargas Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -74,6 +75,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/sale-promotion `_ project on GitHub. +This module is part of the `OCA/sale-promotion `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/loyalty_partner_applicability/__manifest__.py b/loyalty_partner_applicability/__manifest__.py index 15ad65c2..aab47a0f 100644 --- a/loyalty_partner_applicability/__manifest__.py +++ b/loyalty_partner_applicability/__manifest__.py @@ -2,9 +2,10 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Loyalty Partner Applicability", - "summary": "Enables the definition of a customer filter for promotion rules that will " + "summary": "Enables the definition of a customer filter for promotion " + "rules that will " "only be applied to customers who meet the specified conditions in the filter.", - "version": "16.0.2.0.2", + "version": "17.0.1.0.0", "category": "Sale", "website": "https://github.com/OCA/sale-promotion", "author": "Tecnativa, Odoo Community Association (OCA)", diff --git a/loyalty_partner_applicability/models/res_config_settings.py b/loyalty_partner_applicability/models/res_config_settings.py index 2aa063af..430e319f 100644 --- a/loyalty_partner_applicability/models/res_config_settings.py +++ b/loyalty_partner_applicability/models/res_config_settings.py @@ -5,7 +5,6 @@ class ResConfigSettings(models.TransientModel): - _inherit = "res.config.settings" # Allows a coupon generated for one partner to be used by any other member diff --git a/loyalty_partner_applicability/pyproject.toml b/loyalty_partner_applicability/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/loyalty_partner_applicability/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/loyalty_partner_applicability/readme/CONTRIBUTORS.md b/loyalty_partner_applicability/readme/CONTRIBUTORS.md new file mode 100644 index 00000000..df940da7 --- /dev/null +++ b/loyalty_partner_applicability/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Tecnativa](https://www.tecnativa.com): + - Pilar Vargas diff --git a/loyalty_partner_applicability/readme/CONTRIBUTORS.rst b/loyalty_partner_applicability/readme/CONTRIBUTORS.rst deleted file mode 100644 index 44075b9f..00000000 --- a/loyalty_partner_applicability/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,3 +0,0 @@ -* `Tecnativa `_: - - * Pilar Vargas diff --git a/loyalty_partner_applicability/readme/DESCRIPTION.md b/loyalty_partner_applicability/readme/DESCRIPTION.md new file mode 100644 index 00000000..39819714 --- /dev/null +++ b/loyalty_partner_applicability/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module extends the Loyalty functionality by allowing the definition +of a customer filter for promotion rules. This module is a base to be +extended. diff --git a/loyalty_partner_applicability/readme/DESCRIPTION.rst b/loyalty_partner_applicability/readme/DESCRIPTION.rst deleted file mode 100644 index 6a7d3642..00000000 --- a/loyalty_partner_applicability/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module extends the Loyalty functionality by allowing the definition of a customer -filter for promotion rules. This module is a base to be extended. diff --git a/loyalty_partner_applicability/static/description/index.html b/loyalty_partner_applicability/static/description/index.html index 9d66e97f..fd27076e 100644 --- a/loyalty_partner_applicability/static/description/index.html +++ b/loyalty_partner_applicability/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,10 @@

Loyalty Partner Applicability

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:8ec33f7b2aef2d356aeb572751296ab3f1f271c40cda94d68f707cc45533038b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-promotion Translate me on Weblate Try me on Runboat

-

This module extends the Loyalty functionality by allowing the definition of a customer -filter for promotion rules. This module is a base to be extended.

+

Beta License: AGPL-3 OCA/sale-promotion Translate me on Weblate Try me on Runboat

+

This module extends the Loyalty functionality by allowing the definition +of a customer filter for promotion rules. This module is a base to be +extended.

Table of contents

    @@ -388,7 +390,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.

@@ -411,11 +413,13 @@

Contributors

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.

-

This module is part of the OCA/sale-promotion project on GitHub.

+

This module is part of the OCA/sale-promotion project on GitHub.

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