[pos] moved pos realted code from sales_invoice.js to transaction.js

This commit is contained in:
Akhilesh Darjee
2013-09-17 18:52:00 +05:30
parent 6773bc2512
commit a550e7443f
3 changed files with 13 additions and 17 deletions

View File

@@ -78,11 +78,6 @@ erpnext.TransactionController = erpnext.stock.StockController.extend({
} else {
var btn_label = wn._(this.frm.doctype) + wn._(" View"),
icon = "icon-file-text";
if (this.frm.doc.docstatus===0) {
this.frm.clear_custom_buttons();
}
}
var me = this;