fix: Failing test case on develop (#16974)
This commit is contained in:
parent
3c95387926
commit
3a05b3501c
@ -312,7 +312,7 @@ class TestWorkOrder(unittest.TestCase):
|
||||
bom_doc = frappe.get_doc('BOM', bom)
|
||||
work_order = make_wo_order_test_record(item=bom_item, qty=1, bom_no=bom)
|
||||
|
||||
job_cards = frappe.get_all('Job Card', filters = {'work_order': work_order})
|
||||
job_cards = frappe.get_all('Job Card', filters = {'work_order': work_order.name})
|
||||
self.assertEqual(len(job_cards), len(bom_doc.operations))
|
||||
|
||||
def test_work_order_with_non_transfer_item(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user