Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Improvement to the sales pipeline #15524

Merged
merged 13 commits into from Oct 3, 2018
Merged

[Enhancement] Improvement to the sales pipeline #15524

merged 13 commits into from Oct 3, 2018

Conversation

chdecultot
Copy link
Contributor

Hi,

The current CRM in ERPNext is lacking the possibility to see a proper sales pipeline taking into account the following data:

  • A prospective sales amount
  • A percentage of realization of this opportunity
  • Different sales stages

In order to solve this issue, my proposal is the following:

  1. Add the above fields in the opportunity DocType:
    image

  2. Add two new charts reports in the sales funnel page (basic reports in most CRM systems):

sales_pipeline

The first chart provides a quick view of all opportunities by stage and compounded amount (amount set in the opportunity x probability of realization)

The second gives an overview of all opportunities by source.

I have also added a filter by company for the sales funnel, as it was missing.

Please let me know if you have comment/feedback. I'll be happy to improve this PR.

Best regards,

Charles-Henri

@chdecultot chdecultot changed the base branch from develop to staging September 27, 2018 17:28
Copy link
Member

@rmehta rmehta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Convert Sales Stage into a doctype (don't forget to add default fixtures both for install and also via a patch)

"label": "Sales Stage",
"length": 0,
"no_copy": 0,
"options": "Prospecting\nQualification\nNeeds Analysis\nValue Proposition\nIdentifying Decision Makers\nPerception Analysis\nProposal/Price Quote\nNegotiation/Review",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Convert this into a master too!

@chdecultot
Copy link
Contributor Author

Hi @rmehta,

Thanks for your review.
I just created a new doctype called "Sales Stage" and the corresponding fixtures/patch.

Let me know if you see any additional improvement.

Have a nice day!

@chdecultot chdecultot changed the base branch from staging to staging-fixes October 1, 2018 07:56
@rmehta rmehta merged commit 75fa6b3 into frappe:staging-fixes Oct 3, 2018
@codingCoffee
Copy link
Contributor

@chdecultot
Copy link
Contributor Author

Oh my apologies... 😯

@chdecultot chdecultot deleted the sales_pipeline branch October 9, 2018 09:44
@adityahase
Copy link
Member

@chdecultot Why so much duplication in erpnext/erpnext/selling/page/sales_funnel/sales_funnel.js ?

@chdecultot
Copy link
Contributor Author

Hi @adityahase,

No particular reason except that I should have made cleaner code...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants