From f5c37820b3ef760659bf01315124e41b60119767 Mon Sep 17 00:00:00 2001 From: flora Date: Mon, 30 Jul 2018 16:36:42 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=E5=85=B3=E4=BA=8E=E6=89=B9=E6=AC=A1?= =?UTF-8?q?=E5=8F=B7=E7=9A=84=E6=94=B6=E8=B4=A7=E7=9A=84bug=20#1887:?= =?UTF-8?q?=E5=85=A5=E5=BA=93=E5=8D=95=E7=94=9F=E6=88=90=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E5=8D=95=E6=97=B6=E4=B8=8D=E8=AF=A5=E4=BC=A0=E5=85=A5lot=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buy/models/buy_receipt.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/buy/models/buy_receipt.py b/buy/models/buy_receipt.py index 78cfc0545..214d6df4b 100644 --- a/buy/models/buy_receipt.py +++ b/buy/models/buy_receipt.py @@ -532,8 +532,6 @@ def buy_to_return(self): 'discount_amount': line.discount_amount, 'type': 'out' } - if line.goods_id.using_batch: - dic.update({'lot_id': line.id}) receipt_line.append(dic) if len(receipt_line) == 0: raise UserError(u'该订单已全部退货!')