This repository contains two Frappe apps for demonstrating how Doc Events and Document Class Override works.
To install the apps, follow the steps.
- Clone the repository, and change the directory.
git clone https://github.com/niraj2477/Frappe-Build-24.git
- Install the apps via
bench get-app <path>
.example:bench get-app /path/to/app
bench get-app /frappe_docevent
- Install the app on site.
bench --site <sitename> install-app frappe_docevent
are the life cycle methods which are available on every DocType within the frapp, which allow the custom scripts/apps to add their add on functionality on top of the Existing document.
is a pythonic way to change the implementation of class method or the whole class by providing specific implementation according to requirements.