From 38694227823eb20fda48d60c4ba85c83e4e61168 Mon Sep 17 00:00:00 2001 From: bobrador Date: Mon, 22 Jul 2024 11:54:53 +0200 Subject: [PATCH] [IMP] crm_salesperson_planner: pre-commit auto fixes --- crm_salesperson_planner/README.rst | 62 +++++++++++-------- crm_salesperson_planner/pyproject.toml | 3 + crm_salesperson_planner/readme/CONFIGURE.md | 4 ++ crm_salesperson_planner/readme/CONFIGURE.rst | 3 - .../readme/CONTRIBUTORS.md | 7 +++ .../readme/CONTRIBUTORS.rst | 12 ---- crm_salesperson_planner/readme/DESCRIPTION.md | 10 +++ .../readme/DESCRIPTION.rst | 3 - crm_salesperson_planner/readme/USAGE.md | 9 +++ crm_salesperson_planner/readme/USAGE.rst | 6 -- .../static/description/index.html | 49 ++++++++++----- 11 files changed, 102 insertions(+), 66 deletions(-) create mode 100644 crm_salesperson_planner/pyproject.toml create mode 100644 crm_salesperson_planner/readme/CONFIGURE.md delete mode 100644 crm_salesperson_planner/readme/CONFIGURE.rst create mode 100644 crm_salesperson_planner/readme/CONTRIBUTORS.md delete mode 100644 crm_salesperson_planner/readme/CONTRIBUTORS.rst create mode 100644 crm_salesperson_planner/readme/DESCRIPTION.md delete mode 100644 crm_salesperson_planner/readme/DESCRIPTION.rst create mode 100644 crm_salesperson_planner/readme/USAGE.md delete mode 100644 crm_salesperson_planner/readme/USAGE.rst diff --git a/crm_salesperson_planner/README.rst b/crm_salesperson_planner/README.rst index 4650f0e9253..054ffdb1821 100644 --- a/crm_salesperson_planner/README.rst +++ b/crm_salesperson_planner/README.rst @@ -17,20 +17,27 @@ Crm Salesperson Planner :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_salesperson_planner + :target: https://github.com/OCA/crm/tree/17.0/crm_salesperson_planner :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_salesperson_planner + :target: https://translation.odoo-community.org/projects/crm-17-0/crm-17-0-crm_salesperson_planner :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 application allows you to track and schedule salespeople visits to your customers, allowing you to determine which opportunities are going to be dealt on each visit. Visits create an all day event in calendar, and they can be easily rescheduled. -Visits can be automatically created from a template, in which it is possible to select the frequency of visits, as well as the start and end dates. The last visit can also be calculated by selecting the total number of repetitions. -This module creates a cron that generates visits from templates, but an option to create them manually is available from the template form view when the template is validated. +This application allows you to track and schedule salespeople visits to +your customers, allowing you to determine which opportunities are going +to be dealt on each visit. Visits create an all day event in calendar, +and they can be easily rescheduled. Visits can be automatically created +from a template, in which it is possible to select the frequency of +visits, as well as the start and end dates. The last visit can also be +calculated by selecting the total number of repetitions. This module +creates a cron that generates visits from templates, but an option to +create them manually is available from the template form view when the +template is validated. **Table of contents** @@ -42,17 +49,22 @@ Configuration To configure this module, you need to: -* Go to new menu **CRM > Configuration > Salesperson Planner > Close Reasons** and create a close reason for 'Cancel' and 'Incident' types. +- Go to new menu **CRM > Configuration > Salesperson Planner > Close + Reasons** and create a close reason for 'Cancel' and 'Incident' + types. Usage ===== -Go to new menu **CRM > Salesperson Planner > My Visits or All Visits** and create a new visit. -or -Go to **CRM > Salesperson Planner > Visit Templates** and create a new recurring template for create periodical visits. In this case, it is necessary to select a start date. The date of the last repetition can be calculated by selection the total number of repetitions or an end date. -There are two options available to reschedule visits that is already validated: -* Change the date from the visit. -* Change the date straight from the event automatically created in the calendar. +Go to new menu **CRM > Salesperson Planner > My Visits or All Visits** +and create a new visit. or Go to **CRM > Salesperson Planner > Visit +Templates** and create a new recurring template for create periodical +visits. In this case, it is necessary to select a start date. The date +of the last repetition can be calculated by selection the total number +of repetitions or an end date. There are two options available to +reschedule visits that is already validated: \* Change the date from the +visit. \* Change the date straight from the event automatically created +in the calendar. Bug Tracker =========== @@ -60,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. @@ -68,28 +80,28 @@ Credits ======= Authors -~~~~~~~ +------- * Sygel Technology Contributors -~~~~~~~~~~~~ +------------ -* `Sygel `__: +- `Sygel `__: - * Valentin Vinagre - * Manuel Regidor + - Valentin Vinagre + - Manuel Regidor -* `Pesol `__: +- `Pesol `__: - * Gerardo Marin Parra + - Gerardo Marin Parra -* `Tecnativa `_: +- `Tecnativa `__: - * Víctor Martínez + - Víctor Martínez Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -101,6 +113,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/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_salesperson_planner/pyproject.toml b/crm_salesperson_planner/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/crm_salesperson_planner/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/crm_salesperson_planner/readme/CONFIGURE.md b/crm_salesperson_planner/readme/CONFIGURE.md new file mode 100644 index 00000000000..53762127285 --- /dev/null +++ b/crm_salesperson_planner/readme/CONFIGURE.md @@ -0,0 +1,4 @@ +To configure this module, you need to: + +- Go to new menu **CRM \> Configuration \> Salesperson Planner \> Close + Reasons** and create a close reason for 'Cancel' and 'Incident' types. diff --git a/crm_salesperson_planner/readme/CONFIGURE.rst b/crm_salesperson_planner/readme/CONFIGURE.rst deleted file mode 100644 index b21e85f5692..00000000000 --- a/crm_salesperson_planner/readme/CONFIGURE.rst +++ /dev/null @@ -1,3 +0,0 @@ -To configure this module, you need to: - -* Go to new menu **CRM > Configuration > Salesperson Planner > Close Reasons** and create a close reason for 'Cancel' and 'Incident' types. diff --git a/crm_salesperson_planner/readme/CONTRIBUTORS.md b/crm_salesperson_planner/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..b6812b731d4 --- /dev/null +++ b/crm_salesperson_planner/readme/CONTRIBUTORS.md @@ -0,0 +1,7 @@ +- [Sygel](https://www.sygel.es): + - Valentin Vinagre + - Manuel Regidor +- [Pesol](https://www.pesol.es): + - Gerardo Marin Parra \<\> +- [Tecnativa](https://www.tecnativa.com): + - Víctor Martínez diff --git a/crm_salesperson_planner/readme/CONTRIBUTORS.rst b/crm_salesperson_planner/readme/CONTRIBUTORS.rst deleted file mode 100644 index a9cb60f5f45..00000000000 --- a/crm_salesperson_planner/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,12 +0,0 @@ -* `Sygel `__: - - * Valentin Vinagre - * Manuel Regidor - -* `Pesol `__: - - * Gerardo Marin Parra - -* `Tecnativa `_: - - * Víctor Martínez diff --git a/crm_salesperson_planner/readme/DESCRIPTION.md b/crm_salesperson_planner/readme/DESCRIPTION.md new file mode 100644 index 00000000000..46c87119e85 --- /dev/null +++ b/crm_salesperson_planner/readme/DESCRIPTION.md @@ -0,0 +1,10 @@ +This application allows you to track and schedule salespeople visits to +your customers, allowing you to determine which opportunities are going +to be dealt on each visit. Visits create an all day event in calendar, +and they can be easily rescheduled. Visits can be automatically created +from a template, in which it is possible to select the frequency of +visits, as well as the start and end dates. The last visit can also be +calculated by selecting the total number of repetitions. This module +creates a cron that generates visits from templates, but an option to +create them manually is available from the template form view when the +template is validated. diff --git a/crm_salesperson_planner/readme/DESCRIPTION.rst b/crm_salesperson_planner/readme/DESCRIPTION.rst deleted file mode 100644 index 7f40eb8e8cc..00000000000 --- a/crm_salesperson_planner/readme/DESCRIPTION.rst +++ /dev/null @@ -1,3 +0,0 @@ -This application allows you to track and schedule salespeople visits to your customers, allowing you to determine which opportunities are going to be dealt on each visit. Visits create an all day event in calendar, and they can be easily rescheduled. -Visits can be automatically created from a template, in which it is possible to select the frequency of visits, as well as the start and end dates. The last visit can also be calculated by selecting the total number of repetitions. -This module creates a cron that generates visits from templates, but an option to create them manually is available from the template form view when the template is validated. diff --git a/crm_salesperson_planner/readme/USAGE.md b/crm_salesperson_planner/readme/USAGE.md new file mode 100644 index 00000000000..19238180b3c --- /dev/null +++ b/crm_salesperson_planner/readme/USAGE.md @@ -0,0 +1,9 @@ +Go to new menu **CRM \> Salesperson Planner \> My Visits or All Visits** +and create a new visit. or Go to **CRM \> Salesperson Planner \> Visit +Templates** and create a new recurring template for create periodical +visits. In this case, it is necessary to select a start date. The date +of the last repetition can be calculated by selection the total number +of repetitions or an end date. There are two options available to +reschedule visits that is already validated: \* Change the date from the +visit. \* Change the date straight from the event automatically created +in the calendar. diff --git a/crm_salesperson_planner/readme/USAGE.rst b/crm_salesperson_planner/readme/USAGE.rst deleted file mode 100644 index cc440b32e2e..00000000000 --- a/crm_salesperson_planner/readme/USAGE.rst +++ /dev/null @@ -1,6 +0,0 @@ -Go to new menu **CRM > Salesperson Planner > My Visits or All Visits** and create a new visit. -or -Go to **CRM > Salesperson Planner > Visit Templates** and create a new recurring template for create periodical visits. In this case, it is necessary to select a start date. The date of the last repetition can be calculated by selection the total number of repetitions or an end date. -There are two options available to reschedule visits that is already validated: -* Change the date from the visit. -* Change the date straight from the event automatically created in the calendar. diff --git a/crm_salesperson_planner/static/description/index.html b/crm_salesperson_planner/static/description/index.html index 4850311391d..53e05a4d50c 100644 --- a/crm_salesperson_planner/static/description/index.html +++ b/crm_salesperson_planner/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,10 +369,17 @@

Crm Salesperson Planner

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:ecb19fb91da66e924c1c305af2c747e5d4eb4610309318733cb67f73d68666ed !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This application allows you to track and schedule salespeople visits to your customers, allowing you to determine which opportunities are going to be dealt on each visit. Visits create an all day event in calendar, and they can be easily rescheduled. -Visits can be automatically created from a template, in which it is possible to select the frequency of visits, as well as the start and end dates. The last visit can also be calculated by selecting the total number of repetitions. -This module creates a cron that generates visits from templates, but an option to create them manually is available from the template form view when the template is validated.

+

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

+

This application allows you to track and schedule salespeople visits to +your customers, allowing you to determine which opportunities are going +to be dealt on each visit. Visits create an all day event in calendar, +and they can be easily rescheduled. Visits can be automatically created +from a template, in which it is possible to select the frequency of +visits, as well as the start and end dates. The last visit can also be +calculated by selecting the total number of repetitions. This module +creates a cron that generates visits from templates, but an option to +create them manually is available from the template form view when the +template is validated.

Table of contents

    @@ -390,24 +398,29 @@

    Crm Salesperson Planner

    Configuration

    To configure this module, you need to:

      -
    • Go to new menu CRM > Configuration > Salesperson Planner > Close Reasons and create a close reason for ‘Cancel’ and ‘Incident’ types.
    • +
    • Go to new menu CRM > Configuration > Salesperson Planner > Close +Reasons and create a close reason for ‘Cancel’ and ‘Incident’ +types.

Usage

-

Go to new menu CRM > Salesperson Planner > My Visits or All Visits and create a new visit. -or -Go to CRM > Salesperson Planner > Visit Templates and create a new recurring template for create periodical visits. In this case, it is necessary to select a start date. The date of the last repetition can be calculated by selection the total number of repetitions or an end date. -There are two options available to reschedule visits that is already validated: -* Change the date from the visit. -* Change the date straight from the event automatically created in the calendar.

+

Go to new menu CRM > Salesperson Planner > My Visits or All Visits +and create a new visit. or Go to CRM > Salesperson Planner > Visit +Templates and create a new recurring template for create periodical +visits. In this case, it is necessary to select a start date. The date +of the last repetition can be calculated by selection the total number +of repetitions or an end date. There are two options available to +reschedule visits that is already validated: * Change the date from the +visit. * Change the date straight from the event automatically created +in the calendar.

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.

@@ -439,11 +452,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/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.