mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
[fix] Get item details
This commit is contained in:
@@ -170,8 +170,6 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
|||||||
barcode: item.barcode,
|
barcode: item.barcode,
|
||||||
serial_no: item.serial_no,
|
serial_no: item.serial_no,
|
||||||
warehouse: item.warehouse,
|
warehouse: item.warehouse,
|
||||||
parenttype: me.frm.doc.doctype,
|
|
||||||
parent: me.frm.doc.name,
|
|
||||||
customer: me.frm.doc.customer,
|
customer: me.frm.doc.customer,
|
||||||
supplier: me.frm.doc.supplier,
|
supplier: me.frm.doc.supplier,
|
||||||
currency: me.frm.doc.currency,
|
currency: me.frm.doc.currency,
|
||||||
@@ -186,8 +184,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
|||||||
is_subcontracted: me.frm.doc.is_subcontracted,
|
is_subcontracted: me.frm.doc.is_subcontracted,
|
||||||
transaction_date: me.frm.doc.transaction_date || me.frm.doc.posting_date,
|
transaction_date: me.frm.doc.transaction_date || me.frm.doc.posting_date,
|
||||||
ignore_pricing_rule: me.frm.doc.ignore_pricing_rule,
|
ignore_pricing_rule: me.frm.doc.ignore_pricing_rule,
|
||||||
doctype: item.doctype,
|
doctype: me.frm.doctype,
|
||||||
name: item.name,
|
name: me.frm.name,
|
||||||
project_name: item.project_name || me.frm.doc.project_name,
|
project_name: item.project_name || me.frm.doc.project_name,
|
||||||
qty: item.qty
|
qty: item.qty
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user