refactor: changed the fieldtype from data to small text (#21782)

This commit is contained in:
rohitwaghchaure 2020-05-19 19:05:42 +05:30 committed by GitHub
parent e6d9cec6de
commit f128b1c0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 9 deletions

View File

@ -398,7 +398,7 @@
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
"fieldname": "po_no", "fieldname": "po_no",
"fieldtype": "Data", "fieldtype": "Small Text",
"label": "Customer's Purchase Order", "label": "Customer's Purchase Order",
"no_copy": 1, "no_copy": 1,
"print_hide": 1 "print_hide": 1
@ -1579,7 +1579,7 @@
"idx": 181, "idx": 181,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2020-04-29 13:37:09.355300", "modified": "2020-05-19 17:00:57.208696",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Sales Invoice", "name": "Sales Invoice",

View File

@ -24,10 +24,10 @@
"return_against", "return_against",
"customer_po_details", "customer_po_details",
"po_no", "po_no",
"section_break_18",
"pick_list",
"column_break_17", "column_break_17",
"po_date", "po_date",
"section_break_18",
"pick_list",
"contact_info", "contact_info",
"shipping_address_name", "shipping_address_name",
"shipping_address", "shipping_address",
@ -296,7 +296,6 @@
}, },
{ {
"collapsible": 1, "collapsible": 1,
"collapsible_depends_on": "po_no",
"fieldname": "customer_po_details", "fieldname": "customer_po_details",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Customer PO Details" "label": "Customer PO Details"
@ -304,7 +303,7 @@
{ {
"allow_on_submit": 1, "allow_on_submit": 1,
"fieldname": "po_no", "fieldname": "po_no",
"fieldtype": "Data", "fieldtype": "Small Text",
"label": "Customer's Purchase Order No", "label": "Customer's Purchase Order No",
"no_copy": 1, "no_copy": 1,
"oldfieldname": "po_no", "oldfieldname": "po_no",
@ -318,7 +317,6 @@
"fieldtype": "Column Break" "fieldtype": "Column Break"
}, },
{ {
"depends_on": "eval:doc.po_no",
"fieldname": "po_date", "fieldname": "po_date",
"fieldtype": "Date", "fieldtype": "Date",
"label": "Customer's Purchase Order Date", "label": "Customer's Purchase Order Date",
@ -326,7 +324,6 @@
"oldfieldtype": "Data", "oldfieldtype": "Data",
"print_hide": 1, "print_hide": 1,
"print_width": "100px", "print_width": "100px",
"read_only": 1,
"width": "100px" "width": "100px"
}, },
{ {
@ -1256,7 +1253,7 @@
"idx": 146, "idx": 146,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2020-04-17 12:51:41.288600", "modified": "2020-05-19 17:03:45.880106",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Delivery Note", "name": "Delivery Note",