[fix] [minor] customer_name not visible in sales invoice

This commit is contained in:
Akhilesh Darjee
2013-12-09 15:52:47 +05:30
parent d9255abd46
commit a652347bd1
3 changed files with 3 additions and 3 deletions

View File

@@ -106,7 +106,7 @@ erpnext.stock.StockEntry = erpnext.stock.StockController.extend({
},
callback: function(r) {
if (!r.exc) {
for(d in getchildren('Stock Entry Detail',doc.name,'mtn_details')) {
for(d in getchildren('Stock Entry Detail', me.frm.doc.name, 'mtn_details')) {
if(!d.expense_account) d.expense_account = r.message;
}
}