1 Star 0 Fork 0

深圳如风 / frappe

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hooks.md 992 Bytes
一键复制 编辑 原始数据 按行查看 历史
Achilles Rasquinha 提交于 2018-04-11 12:23 . Non Pour Accent! (#5427)

List of Hooks

Application Name and Details

  1. app_name - slugified name e.g. "frappe"
  2. app_title - full title name e.g. "Frappe"
  3. app_publisher
  4. app_description
  5. app_version
  6. app_icon - font-awesome icon or image url
  7. app_color - hex colour background of the app icon

Install

  1. before_install - method
  2. after_install - method

Javascript / CSS Builds

  1. app_include_js - include in "app"

  2. app_include_css - assets/frappe/css/splash.css

  3. web_include_js - assets/js/frappe-web.min.js

  4. web_include_css - assets/css/frappe-web.css

Desktop

  1. get_desktop_icons - method to get list of desktop icons

Notifications

  1. notification_config - method to get notification configuration

Permissions

  1. permission_query_conditions:[doctype] - method to return additional query conditions at time of report / list etc.
  2. has_permission:[doctype] - method to call permissions to check at individual level
1
https://gitee.com/jason156/frappe.git
git@gitee.com:jason156/frappe.git
jason156
frappe
frappe
develop

搜索帮助