[minor] fixes in test cases and demo

This commit is contained in:
Anand Doshi
2013-11-04 14:37:29 +05:30
parent 06757a19ef
commit 2ced381976
7 changed files with 123 additions and 125 deletions

View File

@@ -617,7 +617,6 @@ class DocType(StockController):
return issued_item_qty
def add_to_stock_entry_detail(self, item_dict, bom_no=None, idx=None):
webnotes.errprint([])
if not idx: idx = 1
expense_account, cost_center = webnotes.conn.get_values("Company", self.doc.company, \
["default_expense_account", "cost_center"])[0]