diff --git a/kardex.fods b/kardex.fods index ef190ba..2d45b8d 100755 Binary files a/kardex.fods and b/kardex.fods differ diff --git a/stock.py b/stock.py index 4d86e6c..5c26c2e 100755 --- a/stock.py +++ b/stock.py @@ -994,10 +994,8 @@ class WarehouseKardexReport(Report): party = '' number = '' add_item = False - print(row[6], 'origen') if row[6] == 'sale.line': party, number, list_price, qty_output = sale_lines_dict[int(row[7])] - print(number, qty_output) balance -= qty_output add_item = True elif row[6] == 'purchase.line': @@ -1007,8 +1005,7 @@ class WarehouseKardexReport(Report): add_item = True else: move = StockMove(row[8]) - if move and (move.from_location.type == 'lost_found' or move.from_location.type == 'customer'): - print('tambien entro al if') + if move and (move.from_location.type == 'lost_found' or move.from_location.type == 'customer' or move.from_location.type == 'supplier'): qty_input = row[9] balance += qty_input add_item = True