[fix] Set actual qty onload of the draft stock entry. Fixed #5172

This commit is contained in:
Nabin Hait 2016-04-11 15:13:40 +05:30
parent f1b276122e
commit 32b2a7795e

View File

@ -27,7 +27,6 @@ class StockEntry(StockController):
return _("From {0} to {1}").format(self.from_warehouse, self.to_warehouse)
def onload(self):
if self.docstatus==1:
for item in self.get("items"):
item.update(get_bin_details(item.item_code, item.s_warehouse))