[fix] repost_actual_qty fix

This commit is contained in:
Rushabh Mehta 2015-10-14 17:37:28 +05:30
parent ee6862b277
commit c4d4c7feb0

View File

@ -35,7 +35,7 @@ def repost(only_actual=False, allow_negative_stock=False, allow_zero_rate=False,
def repost_stock(item_code, warehouse, allow_zero_rate=False, only_actual=False, only_bin=False): def repost_stock(item_code, warehouse, allow_zero_rate=False, only_actual=False, only_bin=False):
if not only_bin: if not only_bin:
repost_actual_qty(item_code, warehouse, allow_zero_rate, only_bin) repost_actual_qty(item_code, warehouse, allow_zero_rate)
if item_code and warehouse and not only_actual: if item_code and warehouse and not only_actual:
qty_dict = { qty_dict = {