major(manufacturing): fixes to ux, material requests to purchase order based on default supplier etc (#15267)
* major(manufacturing): fixes to ux, material requests to purchase order based on default supplier etc * fix: remove debug
This commit is contained in:
committed by
Nabin Hait
parent
f6b784e39e
commit
49f9747385
@@ -118,7 +118,7 @@ $.extend(erpnext.utils, {
|
||||
return dict[party_type];
|
||||
},
|
||||
|
||||
copy_value_in_all_row: function(doc, dt, dn, table_fieldname, fieldname) {
|
||||
copy_value_in_all_rows: function(doc, dt, dn, table_fieldname, fieldname) {
|
||||
var d = locals[dt][dn];
|
||||
if(d[fieldname]){
|
||||
var cl = doc[table_fieldname] || [];
|
||||
@@ -487,6 +487,7 @@ erpnext.utils.map_current_doc = function(opts) {
|
||||
"method": opts.method,
|
||||
"source_names": opts.source_name,
|
||||
"target_doc": cur_frm.doc,
|
||||
'args': opts.args
|
||||
},
|
||||
callback: function(r) {
|
||||
if(!r.exc) {
|
||||
|
||||
Reference in New Issue
Block a user