No description
Find a file
laughsuggestion 0484c02682 Adding sync_hook, and fixing notifications for 'for_module'. (#5194)
* Moving after_install to occur after fixtures and customizations install

"after_install" was being called prior to fixtures that a module depends on gets installed, which makes after_install incapable of working with those doctypes. This is particularly frustrating because there is not an "after_install_with_fixtures_and_customizations" hook...

* fixing trailing whitespace

* Fix for notifications using "from_module".

Notifications using "from_module" designation previously did not work. There's two reasons for this. First, the calculation for summing notifications was exclusively choosing the notifications counts from doctype, and not using the total sum to include modules. Second, the default "_id" for a module was being automatically set to the "link" of a module. This is an issue because module links can actually contain JS (which allow them to open there pages in the same window, for example). Because of this, they do not make for good identifiers. This fix uses the toLowerCase of the module_name as the default module _id.

* fixing double declaration of count

* contending with "core is already defined" codacy error.

* Adding after_sync hook per @rmehta request.

* trying to force travis-CI to rebuild
2018-03-27 10:58:58 +05:30
.github Update README to add new logo (#4979) 2018-02-07 16:46:06 +05:30
ci add my_config patch to travis 2014-10-12 18:54:44 +05:30
frappe Adding sync_hook, and fixing notifications for 'for_module'. (#5194) 2018-03-27 10:58:58 +05:30
rollup Rollup Fixes (#5232) 2018-03-20 13:51:53 +05:30
test_sites [refactor] Language is now a doctype (#2003) 2016-08-23 16:38:03 +05:30
.eslintignore Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
.eslintrc New Build System: Rollup (#5010) 2018-02-20 13:47:48 +05:30
.gitignore [gitignore] 2018-03-16 10:25:44 +05:30
.travis.yml Update .travis.yml 2018-03-20 10:54:35 +05:30
attributions.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
hooks.md [docs] simplified docs home 2017-07-31 17:39:44 +05:30
LICENSE updated LICENSE, helps to index 2017-09-25 21:51:25 +05:30
Makefile [NEW] Makefile to clean cache without restart 2018-03-08 15:18:32 +05:30
MANIFEST.in Fixed manifest and website 2014-06-09 13:21:57 +05:30
package.json Update frappe-datatable to 0.0.3 (#5243) 2018-03-21 17:42:10 +05:30
README.md Update README to add new logo (#4979) 2018-02-07 16:46:06 +05:30
requirements.txt removed dill, revert to cPickle 2018-03-19 19:23:14 +05:30
setup.py fixed codacy 2017-09-26 10:03:19 +05:30
socketio.js socketio.js cleanup 2018-03-25 22:35:46 +05:30
yarn.lock Update frappe-datatable to 0.0.3 (#5243) 2018-03-21 17:42:10 +05:30

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext

Table of Contents

Installation

Install via Frappe Bench

Contributing

  1. Pull Request Requirements
  2. Translations

Website

For details and documentation, see the website https://frappe.io

License

This repository has been released under the MIT License.