Stock reconciliation sl entries

This commit is contained in:
Nabin Hait
2014-10-07 12:17:31 +05:30
parent b96c014daf
commit bfa7f171bd
5 changed files with 17 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ def make_sl_entries(sl_entries, is_amended=None):
if sle.get('is_cancelled') == 'Yes':
sle['actual_qty'] = -flt(sle['actual_qty'])
if sle.get("actual_qty"):
if sle.get("actual_qty") or sle.voucher_type=="Stock Reconciliation":
sle_id = make_entry(sle)
args = sle.copy()