From 9350b5a533f6df95757d272b93ad71c0137d8d45 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 30 May 2019 21:52:13 +0530 Subject: [PATCH] fix: allow import for packing slip --- .../doctype/packing_slip/packing_slip.json | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/erpnext/stock/doctype/packing_slip/packing_slip.json b/erpnext/stock/doctype/packing_slip/packing_slip.json index 93d7bdf78df..4e944039132 100644 --- a/erpnext/stock/doctype/packing_slip/packing_slip.json +++ b/erpnext/stock/doctype/packing_slip/packing_slip.json @@ -1,7 +1,8 @@ { "allow_copy": 0, + "allow_events_in_timeline": 0, "allow_guest_to_view": 0, - "allow_import": 0, + "allow_import": 1, "allow_rename": 0, "autoname": "MAT-PAC-.YYYY.-.#####", "beta": 0, @@ -20,6 +21,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "packing_slip_details", "fieldtype": "Section Break", "hidden": 0, @@ -51,6 +53,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "column_break0", "fieldtype": "Column Break", "hidden": 0, @@ -82,6 +85,7 @@ "collapsible": 0, "columns": 0, "description": "Indicates that the package is a part of this delivery (Only Draft)", + "fetch_if_empty": 0, "fieldname": "delivery_note", "fieldtype": "Link", "hidden": 0, @@ -114,6 +118,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "column_break1", "fieldtype": "Column Break", "hidden": 0, @@ -145,6 +150,7 @@ "collapsible": 0, "columns": 0, "default": "", + "fetch_if_empty": 0, "fieldname": "naming_series", "fieldtype": "Select", "hidden": 0, @@ -177,6 +183,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "section_break0", "fieldtype": "Section Break", "hidden": 0, @@ -207,6 +214,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "column_break2", "fieldtype": "Column Break", "hidden": 0, @@ -238,6 +246,7 @@ "collapsible": 0, "columns": 0, "description": "Identification of the package for the delivery (for print)", + "fetch_if_empty": 0, "fieldname": "from_case_no", "fieldtype": "Data", "hidden": 0, @@ -270,6 +279,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "column_break3", "fieldtype": "Column Break", "hidden": 0, @@ -301,6 +311,7 @@ "collapsible": 0, "columns": 0, "description": "If more than one package of the same type (for print)", + "fetch_if_empty": 0, "fieldname": "to_case_no", "fieldtype": "Data", "hidden": 0, @@ -333,6 +344,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "package_item_details", "fieldtype": "Section Break", "hidden": 0, @@ -364,6 +376,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "get_items", "fieldtype": "Button", "hidden": 0, @@ -395,6 +408,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "items", "fieldtype": "Table", "hidden": 0, @@ -427,6 +441,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "package_weight_details", "fieldtype": "Section Break", "hidden": 0, @@ -459,6 +474,7 @@ "collapsible": 0, "columns": 0, "description": "The net weight of this package. (calculated automatically as sum of net weight of items)", + "fetch_if_empty": 0, "fieldname": "net_weight_pkg", "fieldtype": "Float", "hidden": 0, @@ -490,6 +506,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "net_weight_uom", "fieldtype": "Link", "hidden": 0, @@ -522,6 +539,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "column_break4", "fieldtype": "Column Break", "hidden": 0, @@ -553,6 +571,7 @@ "collapsible": 0, "columns": 0, "description": "The gross weight of the package. Usually net weight + packaging material weight. (for print)", + "fetch_if_empty": 0, "fieldname": "gross_weight_pkg", "fieldtype": "Float", "hidden": 0, @@ -584,6 +603,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "gross_weight_uom", "fieldtype": "Link", "hidden": 0, @@ -616,6 +636,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "letter_head_details", "fieldtype": "Section Break", "hidden": 0, @@ -648,6 +669,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "letter_head", "fieldtype": "Link", "hidden": 0, @@ -681,6 +703,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "misc_details", "fieldtype": "Section Break", "hidden": 0, @@ -712,6 +735,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "fetch_if_empty": 0, "fieldname": "amended_from", "fieldtype": "Link", "hidden": 0, @@ -749,7 +773,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-08-21 16:15:37.201278", + "modified": "2019-05-30 21:50:38.260908", "modified_by": "Administrator", "module": "Stock", "name": "Packing Slip",