fixes to bin for reposting future entires

This commit is contained in:
Rushabh Mehta
2011-11-08 12:06:02 +05:30
parent efd222b6ac
commit d77cb27bd2
7 changed files with 55 additions and 75 deletions

View File

@@ -345,7 +345,7 @@ def execute(patch_no):
for b in bin:
bobj = get_obj('Bin',b[0])
prev_sle = bobj.get_prev_sle(posting_date = '2011-09-01', posting_time = '01:00')
bobj.update_item_valuation(posting_date = '2011-09-01', posting_time = '01:00', prev_sle = prev_sle)
bobj.update_entries_after(posting_date = '2011-09-01', posting_time = '01:00', prev_sle = prev_sle)
elif patch_no == 368:
from webnotes.utils import nestedset
t = [