[minor] fixed stock entry and demo

This commit is contained in:
Anand Doshi
2013-10-28 19:59:09 +05:30
parent 494a216193
commit fec52b5a8f
6 changed files with 52 additions and 53 deletions

View File

@@ -553,7 +553,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]