mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-01 12:38:27 +00:00
buying - update valuation rate when item row has item_code and quantity, else set valuation rate as 0
This commit is contained in:
@@ -53,7 +53,7 @@ def get_item_details(args):
|
||||
"qty": 0,
|
||||
"stock_uom": item.stock_uom,
|
||||
"uom": item.stock_uom,
|
||||
"conversion_factor": 1,
|
||||
"conversion_factor": 1.0,
|
||||
"warehouse": args.warehouse or item.default_warehouse,
|
||||
"item_tax_rate": json.dumps(dict(([d.tax_type, d.tax_rate] for d in
|
||||
item_wrapper.doclist.get({"parentfield": "item_tax"})))),
|
||||
|
||||
Reference in New Issue
Block a user