Set conversion_factor in stock entry test case

This commit is contained in:
Anand Doshi 2014-04-25 19:35:06 +05:30
parent fc79efb97c
commit 8e5b2af0fb

View File

@ -839,7 +839,8 @@ def make_stock_entry(item, source, target, qty, incoming_rate=None):
"s_warehouse": source, "s_warehouse": source,
"t_warehouse": target, "t_warehouse": target,
"qty": qty, "qty": qty,
"incoming_rate": incoming_rate "incoming_rate": incoming_rate,
"conversion_factor": 1.0
}) })
s.insert() s.insert()
s.submit() s.submit()