From 8e5b2af0fba062b7dcf76b15847848710f7e29ee Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 25 Apr 2014 19:35:06 +0530 Subject: [PATCH] Set conversion_factor in stock entry test case --- erpnext/stock/doctype/stock_entry/test_stock_entry.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index 3480f2c63a..4739d21a7f 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py @@ -839,7 +839,8 @@ def make_stock_entry(item, source, target, qty, incoming_rate=None): "s_warehouse": source, "t_warehouse": target, "qty": qty, - "incoming_rate": incoming_rate + "incoming_rate": incoming_rate, + "conversion_factor": 1.0 }) s.insert() s.submit()