Validate serial no in return entry with against document

This commit is contained in:
Nabin Hait
2015-08-04 12:18:12 +05:30
parent 845bbe3e27
commit b7c0c55d61
4 changed files with 1231 additions and 86 deletions

View File

@@ -83,7 +83,7 @@ $.extend(erpnext, {
return {
filters: {
item_code:grid_row.doc.item_code ,
warehouse:grid_row.doc.warehouse
warehouse:cur_frm.doc.is_return ? null : grid_row.doc.warehouse
}
}
}