Batch number selector bug fix (#12346)

* fix bug in batch number selector. fetch and display batch numbers only for the given item code.

* remove print statement

* Fix error on selecting Chattisgarh in address

Fix error on selecting Chattisgarh in address because of spelling mistake

* Revert "Fix error on selecting Chattisgarh in address"
This commit is contained in:
Sachin Mane
2018-01-08 17:57:32 +05:30
committed by Nabin Hait
parent c82d7fb110
commit 64f48db406
2 changed files with 4 additions and 4 deletions

View File

@@ -215,7 +215,7 @@ erpnext.SerialNoBatchSelector = Class.extend({
in_list_view:1,
get_query: function() {
return {
filters: {item: me.item_code },
filters: {item_code: me.item_code },
query: 'erpnext.controllers.queries.get_batch_numbers'
};
},
@@ -357,4 +357,4 @@ erpnext.SerialNoBatchSelector = Class.extend({
}
];
}
});
});