[hotfix] use me.frm.doc in get_item_details

This commit is contained in:
Anand Doshi 2016-01-21 21:04:16 +05:30
parent e4b44a86a6
commit afe85bdd04

View File

@ -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
}