minor changes

This commit is contained in:
Shreya
2018-04-27 16:24:05 +05:30
parent a20157af17
commit 14bd43d5eb
4 changed files with 11 additions and 11 deletions

View File

@@ -304,7 +304,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
this.frm.doc.doctype === 'Delivery Note') {
show_batch_dialog = 1;
}
// clear barcode if setting item (else barcode will take priority)
if(!from_barcode) {
item.barcode = null;

View File

@@ -69,7 +69,7 @@ $.extend(erpnext, {
"get_query": function () {
return {
filters: {
item_code:grid_row.doc.item_code ,
item_code:grid_row.doc.item_code,
warehouse:cur_frm.doc.is_return ? null : grid_row.doc.warehouse
}
}