fix: travis
This commit is contained in:
parent
0eaf6de5de
commit
440510337c
@ -88,8 +88,9 @@ class TestAssetRepair(unittest.TestCase):
|
||||
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(
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user