mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
fixes in warehouse validation
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
wn.provide("erpnext.stock");
|
||||
|
||||
erpnext.stock.StockController = erpnext.utils.Controller.extend({
|
||||
erpnext.stock.StockController = wn.ui.form.Controller.extend({
|
||||
show_stock_ledger: function() {
|
||||
var me = this;
|
||||
this.frm.add_custom_button("Show Stock Ledger", function() {
|
||||
|
||||
@@ -23,11 +23,4 @@ erpnext.get_currency = function(company) {
|
||||
return wn.model.get(":Company", company).default_currency || wn.boot.sysdefaults.currency;
|
||||
else
|
||||
return wn.boot.sysdefaults.currency;
|
||||
}
|
||||
|
||||
// TODO
|
||||
erpnext.utils.Controller = wn.ui.form.Controller.extend({
|
||||
refresh: function() {
|
||||
erpnext.hide_naming_series();
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user