Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

1234567891011121314151617181920212223242526272829303132333435363738
  1. ### List of Hooks
  2. #### Application Name and Details
  3. 1. `app_name` - slugified name e.g. "frappe"
  4. 1. `app_title` - full title name e.g. "Frappe"
  5. 1. `app_publisher`
  6. 1. `app_description`
  7. 1. `app_version`
  8. 1. `app_icon` - font-awesome icon or image url
  9. 1. `app_color` - hex colour background of the app icon
  10. #### Install
  11. 1. `before_install` - method
  12. 1. `after_install` - method
  13. #### Javascript / CSS Builds
  14. 1. `app_include_js` - include in "app"
  15. 1. `app_include_css` - assets/frappe/css/splash.css
  16. 1. `web_include_js` - assets/js/frappe-web.min.js
  17. 1. `web_include_css` - assets/css/frappe-web.css
  18. #### Desktop
  19. 1. `get_desktop_icons` - method to get list of desktop icons
  20. #### Notifications
  21. 1. `notification_config` - method to get notification configuration
  22. #### Permissions
  23. 1. `permission_query_conditions:[doctype]` - method to return additional query conditions at time of report / list etc.
  24. 1. `has_permission:[doctype]` - method to call permissions to check at individual level