mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
[mapper-pull] for sales / purchae
This commit is contained in:
@@ -85,7 +85,8 @@ def _get_basic_details(args, item_bean):
|
||||
"item_tax_rate": json.dumps(dict(([d.tax_type, d.tax_rate] for d in
|
||||
item_bean.doclist.get({"parentfield": "item_tax"})))),
|
||||
"batch_no": None,
|
||||
"expense_head": item.purchase_account,
|
||||
"expense_head": item.purchase_account \
|
||||
or webnotes.conn.get_value("Company", args.company, "default_expense_account"),
|
||||
"cost_center": item.cost_center
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user