fixed repost function in warehouse

This commit is contained in:
Nabin Hait 2011-08-29 13:17:19 +05:30
parent 1d5cab8745
commit 8e0f15a8b1

View File

@ -68,7 +68,7 @@ class DocType:
bl = sql("select name from tabBin where warehouse=%s", self.doc.name)
for b in bl:
bobj = get_obj('Bin',b[0])
bobj.update_item_valuation()
bobj.update_item_valuation(posting_date = '2000-01-01', posting_time = '12:00')
sql("COMMIT")
sql("START TRANSACTION")