fix(UX): hide scan section for non-draft docs

This commit is contained in:
Ankush Menat 2022-05-11 18:40:44 +05:30
parent a4f0be6c5e
commit d3121fd845
2 changed files with 4 additions and 2 deletions

View File

@ -41,6 +41,7 @@
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"depends_on": "eval:!doc.docstatus",
"fieldname": "section_break_6", "fieldname": "section_break_6",
"fieldtype": "Section Break" "fieldtype": "Section Break"
}, },
@ -162,7 +163,7 @@
], ],
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-05-05 09:50:36.252445", "modified": "2022-05-11 09:09:53.029312",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Pick List", "name": "Pick List",

View File

@ -170,6 +170,7 @@
"options": "Warehouse" "options": "Warehouse"
}, },
{ {
"depends_on": "eval:!doc.docstatus",
"fieldname": "section_break_22", "fieldname": "section_break_22",
"fieldtype": "Section Break" "fieldtype": "Section Break"
}, },
@ -182,7 +183,7 @@
"idx": 1, "idx": 1,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2022-03-27 08:57:47.161959", "modified": "2022-05-11 09:10:26.327652",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Stock Reconciliation", "name": "Stock Reconciliation",