mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 01:14:46 +00:00
refactored javascript models
This commit is contained in:
@@ -70,7 +70,7 @@ cur_frm.cscript['Backflush'] = function() {
|
||||
}
|
||||
|
||||
cur_frm.cscript.make_se = function(doc, process) {
|
||||
var se = LocalDB.create('Stock Entry');
|
||||
var se = wn.model.make_new_doc_and_get_name('Stock Entry');
|
||||
se = locals['Stock Entry'][se];
|
||||
se.purpose = 'Production Order';
|
||||
se.process = process;
|
||||
|
||||
Reference in New Issue
Block a user