From 3bbc97fe8a10c1c869b18aa200c14008bd661b8d Mon Sep 17 00:00:00 2001 From: Antoni Marroig Campomar Date: Fri, 1 Dec 2023 08:28:03 +0100 Subject: [PATCH] [IMP] crm_partner_assign: pre-commit auto fixes --- crm_partner_assign/README.rst | 51 +++++++++++-------- crm_partner_assign/pyproject.toml | 3 ++ crm_partner_assign/readme/CONTRIBUTORS.md | 2 + crm_partner_assign/readme/CONTRIBUTORS.rst | 2 - .../readme/{CREDITS.rst => CREDITS.md} | 2 +- crm_partner_assign/readme/DESCRIPTION.md | 4 ++ crm_partner_assign/readme/DESCRIPTION.rst | 3 -- crm_partner_assign/readme/INSTALL.md | 8 +++ crm_partner_assign/readme/INSTALL.rst | 3 -- crm_partner_assign/readme/USAGE.md | 7 +++ crm_partner_assign/readme/USAGE.rst | 6 --- .../static/description/index.html | 27 ++++++---- 12 files changed, 71 insertions(+), 47 deletions(-) create mode 100644 crm_partner_assign/pyproject.toml create mode 100644 crm_partner_assign/readme/CONTRIBUTORS.md delete mode 100644 crm_partner_assign/readme/CONTRIBUTORS.rst rename crm_partner_assign/readme/{CREDITS.rst => CREDITS.md} (77%) create mode 100644 crm_partner_assign/readme/DESCRIPTION.md delete mode 100644 crm_partner_assign/readme/DESCRIPTION.rst create mode 100644 crm_partner_assign/readme/INSTALL.md delete mode 100644 crm_partner_assign/readme/INSTALL.rst create mode 100644 crm_partner_assign/readme/USAGE.md delete mode 100644 crm_partner_assign/readme/USAGE.rst diff --git a/crm_partner_assign/README.rst b/crm_partner_assign/README.rst index b2c0a6dc636..4ba7fc670ae 100644 --- a/crm_partner_assign/README.rst +++ b/crm_partner_assign/README.rst @@ -17,20 +17,21 @@ CRM Partner Assign :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github - :target: https://github.com/OCA/crm/tree/16.0/crm_partner_assign + :target: https://github.com/OCA/crm/tree/17.0/crm_partner_assign :alt: OCA/crm .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/crm-16-0/crm-16-0-crm_partner_assign + :target: https://translation.odoo-community.org/projects/crm-17-0/crm-17-0-crm_partner_assign :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/crm&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module extends the functionality of CRM Leads to support assigning an associate partner to leads -and to allow you to check if a Lead is being worked on by an associate partner. -Also you can link a Partner to another Partner as an implementation partner. +This module extends the functionality of CRM Leads to support assigning +an associate partner to leads and to allow you to check if a Lead is +being worked on by an associate partner. Also you can link a Partner to +another Partner as an implementation partner. .. IMPORTANT:: This is an alpha version, the data model and design can change at any time without warning. @@ -45,19 +46,25 @@ Also you can link a Partner to another Partner as an implementation partner. Installation ============ -This module is the minimum viable product of the *website_crm_partner_assign* module. -If you have the *website* module installed and you want a more complete module, take a look at the *website_crm_partner_assign* module. -This module uses the same field names as the *website_crm_partner_assign* module, so if you want to use *website_crm_partner_assign* and don't lose data, you must install *website_crm_partner_assign* and then uninstall this module (in this order). +This module is the minimum viable product of the +*website_crm_partner_assign* module. If you have the *website* module +installed and you want a more complete module, take a look at the +*website_crm_partner_assign* module. This module uses the same field +names as the *website_crm_partner_assign* module, so if you want to use +*website_crm_partner_assign* and don't lose data, you must install +*website_crm_partner_assign* and then uninstall this module (in this +order). Usage ===== To use this module, you need to: -#. Go to Lead and assign a partner to it. You can assign a partner contact too. -#. You can filter the leads by assigned partner. -#. Go to Partner form and assign an partner to it. -#. You can group Partners by assigned partner. +1. Go to Lead and assign a partner to it. You can assign a partner + contact too. +2. You can filter the leads by assigned partner. +3. Go to Partner form and assign an partner to it. +4. You can group Partners by assigned partner. Bug Tracker =========== @@ -65,7 +72,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. @@ -73,25 +80,25 @@ Credits ======= Authors -~~~~~~~ +------- * Moduon Contributors -~~~~~~~~~~~~ +------------ -* Eduardo de Miguel (`Moduon `__) -* Rafael Blasco (`Moduon `__) +- Eduardo de Miguel (`Moduon `__) +- Rafael Blasco (`Moduon `__) Other credits -~~~~~~~~~~~~~ +------------- The development of this module has been financially supported by: -* Moduon Team S.L. +- Moduon Team S.L. Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -111,6 +118,6 @@ Current `maintainer `__: |maintainer-Shide| -This module is part of the `OCA/crm `_ project on GitHub. +This module is part of the `OCA/crm `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/crm_partner_assign/pyproject.toml b/crm_partner_assign/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/crm_partner_assign/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/crm_partner_assign/readme/CONTRIBUTORS.md b/crm_partner_assign/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..f468f56fb64 --- /dev/null +++ b/crm_partner_assign/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- Eduardo de Miguel ([Moduon](https://www.moduon.team/)) +- Rafael Blasco ([Moduon](https://www.moduon.team/)) diff --git a/crm_partner_assign/readme/CONTRIBUTORS.rst b/crm_partner_assign/readme/CONTRIBUTORS.rst deleted file mode 100644 index 249b6b1dae9..00000000000 --- a/crm_partner_assign/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,2 +0,0 @@ -* Eduardo de Miguel (`Moduon `__) -* Rafael Blasco (`Moduon `__) diff --git a/crm_partner_assign/readme/CREDITS.rst b/crm_partner_assign/readme/CREDITS.md similarity index 77% rename from crm_partner_assign/readme/CREDITS.rst rename to crm_partner_assign/readme/CREDITS.md index 9128243f5bb..98d1eaf17f7 100644 --- a/crm_partner_assign/readme/CREDITS.rst +++ b/crm_partner_assign/readme/CREDITS.md @@ -1,3 +1,3 @@ The development of this module has been financially supported by: -* Moduon Team S.L. +- Moduon Team S.L. diff --git a/crm_partner_assign/readme/DESCRIPTION.md b/crm_partner_assign/readme/DESCRIPTION.md new file mode 100644 index 00000000000..24128610cf2 --- /dev/null +++ b/crm_partner_assign/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module extends the functionality of CRM Leads to support assigning +an associate partner to leads and to allow you to check if a Lead is +being worked on by an associate partner. Also you can link a Partner to +another Partner as an implementation partner. diff --git a/crm_partner_assign/readme/DESCRIPTION.rst b/crm_partner_assign/readme/DESCRIPTION.rst deleted file mode 100644 index b8a5cad4aad..00000000000 --- a/crm_partner_assign/readme/DESCRIPTION.rst +++ /dev/null @@ -1,3 +0,0 @@ -This module extends the functionality of CRM Leads to support assigning an associate partner to leads -and to allow you to check if a Lead is being worked on by an associate partner. -Also you can link a Partner to another Partner as an implementation partner. diff --git a/crm_partner_assign/readme/INSTALL.md b/crm_partner_assign/readme/INSTALL.md new file mode 100644 index 00000000000..19f7b38f582 --- /dev/null +++ b/crm_partner_assign/readme/INSTALL.md @@ -0,0 +1,8 @@ +This module is the minimum viable product of the +*website_crm_partner_assign* module. If you have the *website* module +installed and you want a more complete module, take a look at the +*website_crm_partner_assign* module. This module uses the same field +names as the *website_crm_partner_assign* module, so if you want to use +*website_crm_partner_assign* and don't lose data, you must install +*website_crm_partner_assign* and then uninstall this module (in this +order). diff --git a/crm_partner_assign/readme/INSTALL.rst b/crm_partner_assign/readme/INSTALL.rst deleted file mode 100644 index f7d25c7a54d..00000000000 --- a/crm_partner_assign/readme/INSTALL.rst +++ /dev/null @@ -1,3 +0,0 @@ -This module is the minimum viable product of the *website_crm_partner_assign* module. -If you have the *website* module installed and you want a more complete module, take a look at the *website_crm_partner_assign* module. -This module uses the same field names as the *website_crm_partner_assign* module, so if you want to use *website_crm_partner_assign* and don't lose data, you must install *website_crm_partner_assign* and then uninstall this module (in this order). diff --git a/crm_partner_assign/readme/USAGE.md b/crm_partner_assign/readme/USAGE.md new file mode 100644 index 00000000000..bc847bb1baa --- /dev/null +++ b/crm_partner_assign/readme/USAGE.md @@ -0,0 +1,7 @@ +To use this module, you need to: + +1. Go to Lead and assign a partner to it. You can assign a partner + contact too. +2. You can filter the leads by assigned partner. +3. Go to Partner form and assign an partner to it. +4. You can group Partners by assigned partner. diff --git a/crm_partner_assign/readme/USAGE.rst b/crm_partner_assign/readme/USAGE.rst deleted file mode 100644 index c943ede7c46..00000000000 --- a/crm_partner_assign/readme/USAGE.rst +++ /dev/null @@ -1,6 +0,0 @@ -To use this module, you need to: - -#. Go to Lead and assign a partner to it. You can assign a partner contact too. -#. You can filter the leads by assigned partner. -#. Go to Partner form and assign an partner to it. -#. You can group Partners by assigned partner. diff --git a/crm_partner_assign/static/description/index.html b/crm_partner_assign/static/description/index.html index 0b5c0c31570..a8cba5aea81 100644 --- a/crm_partner_assign/static/description/index.html +++ b/crm_partner_assign/static/description/index.html @@ -369,10 +369,11 @@

CRM Partner Assign

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:d7416d52b55cc52565e9b0ed82ac4cda387335d70caa59a89f4abde41c7b24fb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Alpha License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runboat

-

This module extends the functionality of CRM Leads to support assigning an associate partner to leads -and to allow you to check if a Lead is being worked on by an associate partner. -Also you can link a Partner to another Partner as an implementation partner.

+

Alpha License: AGPL-3 OCA/crm Translate me on Weblate Try me on Runboat

+

This module extends the functionality of CRM Leads to support assigning +an associate partner to leads and to allow you to check if a Lead is +being worked on by an associate partner. Also you can link a Partner to +another Partner as an implementation partner.

Important

This is an alpha version, the data model and design can change at any time without warning. @@ -396,15 +397,21 @@

CRM Partner Assign

Installation

-

This module is the minimum viable product of the website_crm_partner_assign module. -If you have the website module installed and you want a more complete module, take a look at the website_crm_partner_assign module. -This module uses the same field names as the website_crm_partner_assign module, so if you want to use website_crm_partner_assign and don’t lose data, you must install website_crm_partner_assign and then uninstall this module (in this order).

+

This module is the minimum viable product of the +website_crm_partner_assign module. If you have the website module +installed and you want a more complete module, take a look at the +website_crm_partner_assign module. This module uses the same field +names as the website_crm_partner_assign module, so if you want to use +website_crm_partner_assign and don’t lose data, you must install +website_crm_partner_assign and then uninstall this module (in this +order).

Usage

To use this module, you need to:

    -
  1. Go to Lead and assign a partner to it. You can assign a partner contact too.
  2. +
  3. Go to Lead and assign a partner to it. You can assign a partner +contact too.
  4. You can filter the leads by assigned partner.
  5. Go to Partner form and assign an partner to it.
  6. You can group Partners by assigned partner.
  7. @@ -415,7 +422,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.

@@ -449,7 +456,7 @@

Maintainers

promote its widespread use.

Current maintainer:

Shide

-

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

+

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

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