Skip to content

Commit 12c7d1b

Browse files
authored
Merge pull request #1895 from floraXiao/master
[FIX]关于批次号的收货的bug #1887:入库单生成退货单时不该传入lot_id
2 parents 2f90674 + f5c3782 commit 12c7d1b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

buy/models/buy_receipt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,6 @@ def buy_to_return(self):
532532
'discount_amount': line.discount_amount,
533533
'type': 'out'
534534
}
535-
if line.goods_id.using_batch:
536-
dic.update({'lot_id': line.id})
537535
receipt_line.append(dic)
538536
if len(receipt_line) == 0:
539537
raise UserError(u'该订单已全部退货!')

0 commit comments

Comments
 (0)