Merge branch 'latest' of github.com:webnotes/erpnext into latest
diff --git a/erpnext/stock/doctype/packing_slip/packing_slip.js b/erpnext/stock/doctype/packing_slip/packing_slip.js
index 1bf1f2e..2e728f6 100644
--- a/erpnext/stock/doctype/packing_slip/packing_slip.js
+++ b/erpnext/stock/doctype/packing_slip/packing_slip.js
@@ -29,7 +29,6 @@
var ps_detail = getchildren('Packing Slip Detail', doc.name, 'item_details');
if(!(flt(ps_detail[0].net_weight) && cstr(ps_detail[0].weight_uom))) {
cur_frm.cscript.update_item_details(doc);
- refresh_field('naming_series');
}
}
}
@@ -41,6 +40,7 @@
msgprint(r.exc);
} else {
refresh_field('item_details');
+ refresh_field('naming_series');
}
});
}