minor fix in reposting utility

This commit is contained in:
Nabin Hait 2015-01-12 10:55:48 +05:30
parent 873d98be2d
commit 4e7cc93af9

View File

@ -240,7 +240,7 @@ def repost_all_stock_vouchers():
doc.validate()
doc.update_stock_ledger()
doc.make_gl_entries(repost_future_gle=False, allow_negative_stock=True)
doc.make_gl_entries(repost_future_gle=False)
frappe.db.commit()
except Exception, e:
print frappe.get_traceback()