mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
[pos] moved pos realted code from sales_invoice.js to transaction.js
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user