From 6d1b5d618a97be2ba9d507b964ddc792dc116c12 Mon Sep 17 00:00:00 2001 From: rohitwaghchaure Date: Thu, 3 Mar 2016 14:00:35 +0530 Subject: [PATCH] [enhancement] request for quotation --- erpnext/stock/doctype/material_request/material_request.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/stock/doctype/material_request/material_request.py b/erpnext/stock/doctype/material_request/material_request.py index 73034d1335..6456d03342 100644 --- a/erpnext/stock/doctype/material_request/material_request.py +++ b/erpnext/stock/doctype/material_request/material_request.py @@ -229,9 +229,7 @@ def make_request_for_quotation(source_name, target_doc=None): ["name", "material_request_item"], ["parent", "material_request"], ["uom", "uom"] - ], - "postprocess": update_item, - "condition": lambda doc: doc.ordered_qty < doc.qty + ] } }, target_doc)