frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.86k stars 660 forks source link

feat: plugins #702

Open 18alantom opened 1 year ago

18alantom commented 1 year ago

PR adds support for Plugins. Plugins allow extending Frappe Books by using third-party authors. For a dummy template plugin, check the folder Plugin Template

Development

Plugins that are being developed should be in the plugins subfolder. After it's done developing, yarn plugin --build can be used to build the plugin, this will create a books_plugin file.

Usage

Tentative installation of plugins is to be done by going to the plugin list view (open Quick Search and type Plugin), click on add and select the built books_plugin file.

After a plugin has been saved, changes will be visible on reloading the app.


Several additional things are required to incorporate this feature to the extent envisioned.