Merge pull request #20356 from abhijitkumbharInd/develop
fix: Gives a 404 error when clicked on the Download Required Material…
diff --git a/erpnext/manufacturing/doctype/production_plan/production_plan.json b/erpnext/manufacturing/doctype/production_plan/production_plan.json
index af84481..77ca6b6 100644
--- a/erpnext/manufacturing/doctype/production_plan/production_plan.json
+++ b/erpnext/manufacturing/doctype/production_plan/production_plan.json
@@ -225,6 +225,7 @@
"options": "Warehouse"
},
{
+ "depends_on": "eval:!doc.__islocal",
"fieldname": "download_materials_required",
"fieldtype": "Button",
"label": "Download Required Materials"
@@ -296,7 +297,7 @@
"icon": "fa fa-calendar",
"is_submittable": 1,
"links": [],
- "modified": "2019-12-04 15:58:50.940460",
+ "modified": "2020-01-21 19:13:10.113854",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Production Plan",