brotherton-erpnext/startup/observers.py

9 lines
400 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
# License: GNU General Public License v3. See license.txt
2012-12-27 11:20:24 +00:00
observer_map = {
"*:on_update": "home.update_feed",
"*:on_submit": "home.update_feed",
"Stock Entry:on_submit": "stock.doctype.material_request.material_request.update_completed_qty",
"Stock Entry:on_cancel": "stock.doctype.material_request.material_request.update_completed_qty",
2012-12-27 11:20:24 +00:00
}