Is it possible to add in a calendar view (nothing to do with google calendar, can be jquery calendar) where I can populate active sales (green color), draft sales (orange color) and completed sales (blue color). Is that something can be added easily to erpnext? or do i have to build my own module to make this worked?
The view isn’t customizable from the client side, but if there is a js calendar library you prefer, you could replace the standard one with it (with some work).
It’s pretty easy to create a page that would hold the calendar, js + html + css, + python to get the data.
I bet you could disable the standard calendar (hide) and then add the page to Tools (or wherever you want it) for your own calendar. You can build it all in an app, js libraries go into a public folder and can be hooked into.
Use a file structure like below. Run bench build to essentially create a calendar.js file that goes into the site’s assets/js folder. If you need more help let me know!
frappe-bench
–apps
----frappe
----erpnext
----calendar ( your custom calendar app )
------calendar
--------calendar (made for you)
----------page
------------calendar.js, calendar.json (made for you when you create a page in the browser)
------------calendar.py, calendar.css (make yourself)
--------config (made for you)
--------public (make yourself)
----------js
------------js-calendar-library-here
----------build.json (see example in frappe public folder)
--------hooks.py (hook into 'assets/js/[name-defined-in-build.json])