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:
Rushabh Mehta
2018-08-30 18:50:48 +05:30
committed by Nabin Hait
parent f6b784e39e
commit 49f9747385
13 changed files with 298 additions and 273 deletions

View File

@@ -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) {