[stock ledger][fix] message for negative qty error

This commit is contained in:
Nabin Hait 2013-05-23 19:07:10 +05:30
parent 1e2350d182
commit f4591ecc24

View File

@ -35,6 +35,9 @@ def update_entries_after(args, verbose=1):
"posting_time": "12:00"
}
"""
global _exceptions
_exceptions = []
previous_sle = get_sle_before_datetime(args)
qty_after_transaction = flt(previous_sle.get("qty_after_transaction"))