-
-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
26 changed files
with
1,780 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
===================== | ||
CRM stage probability | ||
===================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:ad9d45eb919e9a0861641ff1f7e39d3bac5544c55a8753dfc1ac1944312a8605 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Alpha | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
: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/17.0/crm_stage_probability | ||
:alt: OCA/crm | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/crm-17-0/crm-17-0-crm_stage_probability | ||
: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=17.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module restore the CRM feature from Odoo <= 12.0 with lead | ||
probability according to its stage. | ||
|
||
.. IMPORTANT:: | ||
This is an alpha version, the data model and design can change at any time without warning. | ||
Only for development or testing purpose, do not use in production. | ||
`More details on development status <https://odoo-community.org/page/development-status>`_ | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
1. Set the probabilities on the stages | ||
2. Run the "Update leads probability" wizard on the stages to update | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/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 <https://github.com/OCA/crm/issues/new?body=module:%20crm_stage_probability%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* Camptocamp | ||
* Odoo SA | ||
|
||
Contributors | ||
------------ | ||
|
||
- Odoo SA | ||
- Akim Juillerat <[email protected]> | ||
- Robin Goots <[email protected]> | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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 <https://github.com/OCA/crm/tree/17.0/crm_stage_probability>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import models | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright 2020 Camptocamp SA | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) | ||
{ | ||
"name": "CRM stage probability", | ||
"summary": "Define fixed probability on the stages", | ||
"version": "17.0.1.0.0", | ||
"development_status": "Alpha", | ||
"category": "Sales/CRM", | ||
"website": "https://github.com/OCA/crm", | ||
"author": "Camptocamp, Odoo Community Association (OCA), Odoo SA", | ||
"license": "AGPL-3", | ||
"depends": ["crm"], | ||
"data": [ | ||
"views/crm_lead.xml", | ||
"views/crm_stage.xml", | ||
"wizard/crm_lead_stage_probability_update.xml", | ||
"data/crm_stage.xml", | ||
"security/ir.model.access.csv", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo noupdate="1"> | ||
<record model="crm.stage" id="crm.stage_lead1"> | ||
<field name="on_change" eval="True" /> | ||
<field name="probability">10</field> | ||
</record> | ||
<record model="crm.stage" id="crm.stage_lead2"> | ||
<field name="on_change" eval="True" /> | ||
<field name="probability">30</field> | ||
</record> | ||
<record model="crm.stage" id="crm.stage_lead3"> | ||
<field name="on_change" eval="True" /> | ||
<field name="probability">70</field> | ||
</record> | ||
<record model="crm.stage" id="crm.stage_lead4"> | ||
<field name="on_change" eval="True" /> | ||
<field name="probability">100</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * crm_stage_probability | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: crm_stage_probability | ||
#: model_terms:ir.ui.view,arch_db:crm_stage_probability.crm_lead_view_form_inherit | ||
msgid "% (According to stage)" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model_terms:ir.ui.view,arch_db:crm_stage_probability.crm_lead_view_form_inherit | ||
msgid "" | ||
"<i class=\"fa fa-gear\" role=\"img\" title=\"Switch to stage probability\" " | ||
"aria-label=\"Switch to stage probability\"/>" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model_terms:ir.ui.view,arch_db:crm_stage_probability.view_crm_lead_stage_probability_update | ||
msgid "All the Leads and opportunities on following stages will be updated." | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model,name:crm_stage_probability.model_crm_stage | ||
msgid "CRM Stages" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model,name:crm_stage_probability.model_crm_lead_stage_probability_update_line | ||
msgid "CRM leads stages to updates" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model_terms:ir.ui.view,arch_db:crm_stage_probability.view_crm_lead_stage_probability_update | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_stage__on_change | ||
msgid "Change Probability Automatically" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__create_uid | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__create_uid | ||
msgid "Created by" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__create_date | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__create_date | ||
msgid "Created on" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__crm_stage_update_ids | ||
msgid "Crm Stage Update" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__display_name | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#. odoo-python | ||
#: code:addons/crm_stage_probability/wizard/crm_lead_stage_probability_update.py:0 | ||
#, python-format | ||
msgid "" | ||
"Following stages must be set as 'Change Probability Automatically' in order to update their related leads:\n" | ||
"\n" | ||
"%s" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__id | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead__is_stage_probability | ||
msgid "Is Stage Probability" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update____last_update | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__write_uid | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__write_uid | ||
msgid "Last Updated by" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update__write_date | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__write_date | ||
msgid "Last Updated on" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model,name:crm_stage_probability.model_crm_lead | ||
msgid "Lead/Opportunity" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model_terms:ir.ui.view,arch_db:crm_stage_probability.view_crm_lead_stage_probability_update | ||
msgid "Leads probability mass update" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model,name:crm_stage_probability.model_crm_lead_stage_probability_update | ||
msgid "Mass update of crm lead probability according to stage" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__lead_count | ||
msgid "No of leads" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead__probability | ||
msgid "Probability" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead__stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_stage__probability | ||
msgid "Probability (%)" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,help:crm_stage_probability.field_crm_stage__on_change | ||
msgid "" | ||
"Setting this stage will change the probability automatically on the " | ||
"opportunity." | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__stage_id | ||
msgid "Stage" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.constraint,message:crm_stage_probability.constraint_crm_stage_check_probability | ||
msgid "The probability should be between 0% and 100%!" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,help:crm_stage_probability.field_crm_lead__stage_probability | ||
#: model:ir.model.fields,help:crm_stage_probability.field_crm_stage__probability | ||
msgid "" | ||
"This percentage depicts the default/average probability of the Case for this" | ||
" stage to be a success" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.actions.act_window,name:crm_stage_probability.action_crm_lead_stage_probability_update | ||
msgid "Update leads probability" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model_terms:ir.ui.view,arch_db:crm_stage_probability.view_crm_lead_stage_probability_update | ||
msgid "Update probabilities" | ||
msgstr "" | ||
|
||
#. module: crm_stage_probability | ||
#: model:ir.model.fields,field_description:crm_stage_probability.field_crm_lead_stage_probability_update_line__wizard_id | ||
msgid "Wizard" | ||
msgstr "" |
Oops, something went wrong.