fix: travis
diff --git a/erpnext/assets/doctype/asset_repair/test_asset_repair.py b/erpnext/assets/doctype/asset_repair/test_asset_repair.py
index a9d0b25..90be568 100644
--- a/erpnext/assets/doctype/asset_repair/test_asset_repair.py
+++ b/erpnext/assets/doctype/asset_repair/test_asset_repair.py
@@ -88,8 +88,9 @@
from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item
stock_entry = make_serialized_item()
- serial_nos = stock_entry.get("items")[0].serial_no
- serial_no = serial_nos.split("\n")[0]
+ bundle_id = stock_entry.get("items")[0].serial_no
+ serial_nos = frappe.get_doc("Serial and Batch Bundle", bundle_id).get_serial_nos()
+ serial_no = serial_nos[0]
# should not raise any error
create_asset_repair(
diff --git a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json
index 788c79d..b613f20 100644
--- a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json
+++ b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.json
@@ -214,7 +214,6 @@
"no_copy": 1
},
{
- "default": "today",
"fieldname": "posting_time",
"fieldtype": "Time",
"label": "Posting Time",
@@ -244,7 +243,7 @@
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
- "modified": "2023-03-23 13:39:17.843812",
+ "modified": "2023-03-24 13:39:17.843812",
"modified_by": "Administrator",
"module": "Stock",
"name": "Serial and Batch Bundle",