mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +00:00
pull item_tax from item master while selecting item in purchase cycle
This commit is contained in:
@@ -56,7 +56,7 @@ def get_item_details(args):
|
|||||||
"conversion_factor": 1,
|
"conversion_factor": 1,
|
||||||
"warehouse": args.warehouse or item.default_warehouse,
|
"warehouse": args.warehouse or item.default_warehouse,
|
||||||
"item_tax_rate": json.dumps(dict(([d.tax_type, d.tax_rate] for d in
|
"item_tax_rate": json.dumps(dict(([d.tax_type, d.tax_rate] for d in
|
||||||
item_wrapper.doclist.get({"parentfield": "ref_rate_details"})))),
|
item_wrapper.doclist.get({"parentfield": "item_tax"})))),
|
||||||
"batch_no": None,
|
"batch_no": None,
|
||||||
"expense_head": item.purchase_account,
|
"expense_head": item.purchase_account,
|
||||||
"cost_center": item.cost_center
|
"cost_center": item.cost_center
|
||||||
|
|||||||
Reference in New Issue
Block a user