From 9d93ad92bc74efe121804efa92cbe33153759ab5 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 20 Jul 2016 11:27:15 +0530 Subject: [PATCH] minor fixes --- .../doctype/production_order/production_order.js | 1 + .../landed_cost_purchase_receipt.json | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/erpnext/manufacturing/doctype/production_order/production_order.js b/erpnext/manufacturing/doctype/production_order/production_order.js index c3ec2b146e..d42f7359da 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.js +++ b/erpnext/manufacturing/doctype/production_order/production_order.js @@ -179,6 +179,7 @@ erpnext.production_order = { } } + frm.fields_dict.source_warehouse.get_query = company_filter; frm.fields_dict.fg_warehouse.get_query = company_filter; frm.fields_dict.wip_warehouse.get_query = company_filter; }, diff --git a/erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.json b/erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.json index bc8eaef4de..d65da882de 100644 --- a/erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.json +++ b/erpnext/stock/doctype/landed_cost_purchase_receipt/landed_cost_purchase_receipt.json @@ -20,7 +20,7 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_list_view": 0, + "in_list_view": 1, "label": "Receipt Document Type", "length": 0, "no_copy": 0, @@ -124,7 +124,7 @@ "ignore_user_permissions": 0, "ignore_xss_filter": 0, "in_filter": 0, - "in_list_view": 1, + "in_list_view": 0, "label": "Posting Date", "length": 0, "no_copy": 0, @@ -173,7 +173,7 @@ "issingle": 0, "istable": 1, "max_attachments": 0, - "modified": "2016-07-11 03:28:01.870042", + "modified": "2016-07-20 10:49:34.228751", "modified_by": "Administrator", "module": "Stock", "name": "Landed Cost Purchase Receipt", @@ -182,5 +182,6 @@ "quick_entry": 0, "read_only": 0, "read_only_onload": 0, + "sort_order": "ASC", "track_seen": 0 } \ No newline at end of file