From a67ae3ad31891da024c8f8e8f567e26757a06ba6 Mon Sep 17 00:00:00 2001 From: abhijitkumbharIND Date: Tue, 11 Feb 2020 15:16:45 +0530 Subject: [PATCH] fix: Production Plan | Get items from Sales Order not fetching grand total value. #20568 --- .../manufacturing/doctype/production_plan/production_plan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.py b/erpnext/manufacturing/doctype/production_plan/production_plan.py index 848c53c804..a79ea0e14b 100644 --- a/erpnext/manufacturing/doctype/production_plan/production_plan.py +++ b/erpnext/manufacturing/doctype/production_plan/production_plan.py @@ -47,7 +47,7 @@ class ProductionPlan(Document): 'sales_order': data.name, 'sales_order_date': data.transaction_date, 'customer': data.customer, - 'grand_total': data.grand_total + 'grand_total': data.base_grand_total }) def get_pending_material_requests(self):