From afe85bdd04578b29632a115918a731db344bb9d9 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 21 Jan 2016 21:04:16 +0530 Subject: [PATCH] [hotfix] use me.frm.doc in get_item_details --- erpnext/public/js/controllers/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index b3bc66b165..b8d9f04915 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -184,8 +184,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ is_subcontracted: me.frm.doc.is_subcontracted, transaction_date: me.frm.doc.transaction_date || me.frm.doc.posting_date, ignore_pricing_rule: me.frm.doc.ignore_pricing_rule, - doctype: me.frm.doctype, - name: me.frm.name, + doctype: me.frm.doc.doctype, + name: me.frm.doc.name, project_name: item.project_name || me.frm.doc.project_name, qty: item.qty }