[stock entry] [test] fixes in test cases

This commit is contained in:
Anand Doshi
2013-05-03 14:34:12 +05:30
parent 549dfdbfed
commit 0f5f584651
2 changed files with 16 additions and 3 deletions

View File

@@ -157,7 +157,7 @@ class DocType(SellingController):
# fetch pos details, if they are not fetched
if cint(self.doc.is_pos):
self.set_pos_fields(for_validate=True)
def update_time_log_batch(self, sales_invoice):
for d in self.doclist.get({"doctype":"Sales Invoice Item"}):
if d.time_log_batch: