Skip to content

Commit

Permalink
[ADD] Add crm_lead_approval module
Browse files Browse the repository at this point in the history
  • Loading branch information
vehi-invitu committed Jan 15, 2025
1 parent 05c7d54 commit 2ea83f5
Show file tree
Hide file tree
Showing 21 changed files with 1,159 additions and 0 deletions.
93 changes: 93 additions & 0 deletions crm_lead_approval/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
=================
CRM Lead Approval
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:735245e54463fae2254dcd6790ba909be3fd49ff8ffcb6119b2dbad96172d7fc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |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_lead_approval
: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_lead_approval
: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 allows users to approve or refuse a lead and provides the
ability to display the approval button on the lead for specific sales
teams and CRM tags.

**Table of contents**

.. contents::
:local:

Configuration
=============

To configure this module to be available, the user needs 1)to access to
CRM settings and 2)add sales teams and crm tags into the "Sales Teams
opportunities approval" and "CRM Tags opportunities approval" settings.
After that, the approval button will be available in the lead only for
these sales teams and crm tags.

Usage
=====



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_lead_approval%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
-------

* INVITU SARL

Contributors
------------

- Cyril VINH-TUNG <cyril@invitu.com>
- Vehiana Tepuhiarii <vehi@invitu.com>

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_lead_approval>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions crm_lead_approval/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2024 INVITU SARL
# License AGPL-3 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
from . import wizard
20 changes: 20 additions & 0 deletions crm_lead_approval/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024 INVITU SARL
# License AGPL-3 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "CRM Lead Approval",
"summary": "This module allows to approve or not a lead.",
"version": "17.0.1.0.0",
"category": "Customer Relationship Management",
"author": "INVITU SARL, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/crm",
"depends": [
"crm",
],
"data": [
"security/ir.model.access.csv",
"views/res_config_settings.xml",
"wizard/approval_wizard_views.xml",
"views/crm_lead_views.xml",
],
}
170 changes: 170 additions & 0 deletions crm_lead_approval/i18n/crm_lead_approval.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * crm_lead_approval
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-01-15 21:32+0000\n"
"PO-Revision-Date: 2025-01-15 21:32+0000\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_lead_approval
#: model:ir.actions.act_window,name:crm_lead_approval.action_crm_approval_wizard
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_lead__approval
msgid "Approval"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_res_company__approval_tag_ids
msgid "Approval Tag"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_res_company__approval_team_ids
msgid "Approval Team"
msgstr ""

#. module: crm_lead_approval
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.view_crm_approval_wizard_form
msgid "Approval wizard"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields.selection,name:crm_lead_approval.selection__crm_lead__approval__done
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.view_crm_approval_wizard_form
msgid "Approve"
msgstr ""

#. module: crm_lead_approval
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.res_config_settings_approved_teams
msgid "Approve CRM tags to see the approval button in the opportunities."
msgstr ""

#. module: crm_lead_approval
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.res_config_settings_approved_teams
msgid "Approve Sales Teams to see the approval button in the opportunities."
msgstr ""

#. module: crm_lead_approval
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.view_crm_lead_form_approval
msgid "Approve/Refuse"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model,name:crm_lead_approval.model_crm_approval_wizard
msgid "CRM Approval Wizard"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_res_config_settings__approval_tag_ids
msgid "CRM Tags opportunities approval"
msgstr ""

#. module: crm_lead_approval
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.view_crm_approval_wizard_form
msgid "Cancel"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,help:crm_lead_approval.field_res_config_settings__approval_tag_ids
msgid "Choose CRM tags for which you want opportunity approval"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,help:crm_lead_approval.field_res_config_settings__approval_team_ids
msgid "Choose Sales Teams for which you want opportunity approval"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model,name:crm_lead_approval.model_res_company
msgid "Companies"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model,name:crm_lead_approval.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__create_uid
msgid "Created by"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__create_date
msgid "Created on"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields.selection,name:crm_lead_approval.selection__crm_lead__approval__blocked
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.view_crm_approval_wizard_form
msgid "Disapprove"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__display_name
msgid "Display Name"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,help:crm_lead_approval.field_crm_lead__to_be_approved
msgid "Help note"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__id
msgid "ID"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__write_uid
msgid "Last Updated by"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__write_date
msgid "Last Updated on"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__lead_id
msgid "Lead"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model,name:crm_lead_approval.model_crm_lead
msgid "Lead/Opportunity"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields.selection,name:crm_lead_approval.selection__crm_lead__approval__none
msgid "None"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_approval_wizard__approval_comment
msgid "Observation"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields.selection,name:crm_lead_approval.selection__crm_lead__approval__normal
#: model_terms:ir.ui.view,arch_db:crm_lead_approval.view_crm_approval_wizard_form
msgid "Reserved"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_res_config_settings__approval_team_ids
msgid "Sales Teams opportunities approval"
msgstr ""

#. module: crm_lead_approval
#: model:ir.model.fields,field_description:crm_lead_approval.field_crm_lead__to_be_approved
msgid "To be approved"
msgstr ""
Loading

0 comments on commit 2ea83f5

Please sign in to comment.