diff --git a/crm_won_reason/README.rst b/crm_won_reason/README.rst index cb620a0d275..5a45390da34 100644 --- a/crm_won_reason/README.rst +++ b/crm_won_reason/README.rst @@ -17,18 +17,19 @@ CRM won reason :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/15.0/crm_won_reason + :target: https://github.com/OCA/crm/tree/18.0/crm_won_reason :alt: OCA/crm .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/crm-15-0/crm-15-0-crm_won_reason + :target: https://translation.odoo-community.org/projects/crm-18-0/crm-18-0-crm_won_reason :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=15.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/crm&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds possibility to define lost & won reasons to be applied on leads. +This module adds possibility to define lost & won reasons to be applied +on leads. **Table of contents** @@ -41,7 +42,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. @@ -49,17 +50,17 @@ Credits ======= Authors -~~~~~~~ +------- * Camptocamp Contributors -~~~~~~~~~~~~ +------------ -* Anna Janiszewska +- Anna Janiszewska Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -79,6 +80,6 @@ Current `maintainer `__: |maintainer-ajaniszewska-dev| -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_won_reason/__manifest__.py b/crm_won_reason/__manifest__.py index 674e1e55fec..7913e442f4e 100644 --- a/crm_won_reason/__manifest__.py +++ b/crm_won_reason/__manifest__.py @@ -3,7 +3,7 @@ { "name": "CRM won reason", - "version": "15.0.1.0.0", + "version": "18.0.1.0.0", "category": "Customer Relationship Management", "author": "Camptocamp, Odoo Community Association (OCA)", "website": "https://github.com/OCA/crm", diff --git a/crm_won_reason/pyproject.toml b/crm_won_reason/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/crm_won_reason/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/crm_won_reason/readme/CONTRIBUTORS.md b/crm_won_reason/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..bfe760cc704 --- /dev/null +++ b/crm_won_reason/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Anna Janiszewska \<\> diff --git a/crm_won_reason/readme/CONTRIBUTORS.rst b/crm_won_reason/readme/CONTRIBUTORS.rst deleted file mode 100644 index 4124e67fb5c..00000000000 --- a/crm_won_reason/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1 +0,0 @@ -* Anna Janiszewska diff --git a/crm_won_reason/readme/DESCRIPTION.rst b/crm_won_reason/readme/DESCRIPTION.md similarity index 78% rename from crm_won_reason/readme/DESCRIPTION.rst rename to crm_won_reason/readme/DESCRIPTION.md index 814228fb7b1..2d5674893db 100644 --- a/crm_won_reason/readme/DESCRIPTION.rst +++ b/crm_won_reason/readme/DESCRIPTION.md @@ -1 +1,2 @@ -This module adds possibility to define lost & won reasons to be applied on leads. +This module adds possibility to define lost & won reasons to be applied +on leads. diff --git a/crm_won_reason/static/description/index.html b/crm_won_reason/static/description/index.html index ddf8131ea49..edbe4b2ec64 100644 --- a/crm_won_reason/static/description/index.html +++ b/crm_won_reason/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,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. @@ -275,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 } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -369,8 +369,9 @@

CRM won reason

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:dee9800d76ab558e0940d25d9a45a47a4dc933e68c11aa4e8d60d4c8379691ed !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module adds possibility to define lost & won reasons to be applied on leads.

+

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

+

This module adds possibility to define lost & won reasons to be applied +on leads.

Table of contents

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

@@ -408,13 +409,15 @@

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.

Current maintainer:

ajaniszewska-dev

-

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_won_reason/views/crm_views.xml b/crm_won_reason/views/crm_views.xml index e387d7e1d67..ee143f8d9cb 100644 --- a/crm_won_reason/views/crm_views.xml +++ b/crm_won_reason/views/crm_views.xml @@ -40,7 +40,7 @@ class="oe_highlight" data-hotkey="w" title="Mark as won" - attrs="{'invisible': ['|','|', ('active','=',False), ('probability', '=', 100), ('type', '=', 'lead')]}" + invisible="active == False or probability == 100 or type == 'lead'" /> diff --git a/crm_won_reason/wizard/crm_lead_won.xml b/crm_won_reason/wizard/crm_lead_won.xml index 8635ba47b43..6c468153685 100644 --- a/crm_won_reason/wizard/crm_lead_won.xml +++ b/crm_won_reason/wizard/crm_lead_won.xml @@ -35,5 +35,4 @@ new -