Browse Source

Merge branch 'master' into shf_rename

develop
Nabin Hait 13 years ago
parent
commit
f3348c5136
  1. 1
      erpnext/stock/doctype/stock_entry/stock_entry.js

1
erpnext/stock/doctype/stock_entry/stock_entry.js

@ -17,6 +17,7 @@
cur_frm.cscript.onload = function(doc, cdt, cdn) {
if (!doc.posting_date) doc.posting_date = dateutil.obj_to_str(new Date());
if (!doc.transfer_date) doc.transfer_date = dateutil.obj_to_str(new Date());
if(!doc.purpose) set_multiple(cdt, cdn, {purpose:'Material Issue'});
cfn_set_fields(doc, cdt, cdn);
}

Loading…
Cancel
Save