From b444ba73e945baefa3f2ced23513bcbb204ab29b Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 7 Nov 2012 11:52:38 +0530 Subject: [PATCH] removed overwriting delivery date code on so_item --- selling/doctype/sales_order/sales_order.py | 1 - 1 file changed, 1 deletion(-) diff --git a/selling/doctype/sales_order/sales_order.py b/selling/doctype/sales_order/sales_order.py index 2be6035a6d..bdbab68a56 100644 --- a/selling/doctype/sales_order/sales_order.py +++ b/selling/doctype/sales_order/sales_order.py @@ -242,7 +242,6 @@ class DocType(TransactionBase): # used for production plan d.transaction_date = self.doc.transaction_date - d.delivery_date = self.doc.delivery_date # gets total projected qty of item in warehouse selected (this case arises when warehouse is selected b4 item) tot_avail_qty = sql("select projected_qty from `tabBin` where item_code = '%s' and warehouse = '%s'" % (d.item_code,d.reserved_warehouse))