fixes related to Material Request; added button to make Stock Entry of type Material Transfer; calculate ordered_qty and per_ordered in Material Request using observer pattern when Stock Entry against it is submitted or cancelled

This commit is contained in:
Anand Doshi
2013-02-20 18:44:10 +05:30
parent 7ce7d7cad4
commit cf05580f8e
18 changed files with 348 additions and 85 deletions

View File

@@ -17,5 +17,7 @@
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",
# "*:on_update": "webnotes.widgets.moduleview.update_count"
}