[fix] Get item details

This commit is contained in:
Nabin Hait 2016-01-21 18:47:03 +05:30
parent 3d5a6af1ae
commit 0d207706c1

View File

@ -170,8 +170,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
barcode: item.barcode,
serial_no: item.serial_no,
warehouse: item.warehouse,
parenttype: me.frm.doc.doctype,
parent: me.frm.doc.name,
customer: me.frm.doc.customer,
supplier: me.frm.doc.supplier,
currency: me.frm.doc.currency,
@ -186,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: item.doctype,
name: item.name,
doctype: me.frm.doctype,
name: me.frm.name,
project_name: item.project_name || me.frm.doc.project_name,
qty: item.qty
}