[minor] show price list in sales order (via support ticket)

This commit is contained in:
Rushabh Mehta
2015-08-27 10:25:07 +05:30
parent 17679c6902
commit 00eba4d7f6
2 changed files with 1 additions and 11 deletions

View File

@@ -83,7 +83,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
refresh: function() {
erpnext.toggle_naming_series();
erpnext.hide_company();
this.hide_currency_and_price_list()
this.show_item_wise_taxes();
this.set_dynamic_labels();
erpnext.pos.make_pos_btn(this.frm);
@@ -140,14 +139,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
}
},
hide_currency_and_price_list: function() {
if(this.frm.doc.conversion_rate == 1 && this.frm.doc.docstatus > 0) {
hide_field("currency_and_price_list");
} else {
unhide_field("currency_and_price_list");
}
},
barcode: function(doc, cdt, cdn) {
var d = locals[cdt][cdn];
if(d.barcode=="" || d.barcode==null) {