added manifest, hooks and fixed requires webnotes/wnframework#351
diff --git a/erpnext/public/js/transaction.js b/erpnext/public/js/transaction.js
index 96f10c7..5b48820 100644
--- a/erpnext/public/js/transaction.js
+++ b/erpnext/public/js/transaction.js
@@ -2,7 +2,7 @@
// License: GNU General Public License v3. See license.txt
wn.provide("erpnext");
-wn.require("app/js/controllers/stock_controller.js");
+wn.require("assets/erpnext/js/controllers/stock_controller.js");
erpnext.TransactionController = erpnext.stock.StockController.extend({
onload: function() {