test: fixed test
(cherry picked from commit 63ffce58cce6c68c210572287024da9ca414aca9)
This commit is contained in:
parent
96e1db80ac
commit
b0e872aad4
@ -997,12 +997,6 @@ class TestWorkOrder(FrappeTestCase):
|
||||
|
||||
make_job_card(wo_order.name, operations)
|
||||
job_card = frappe.db.get_value("Job Card", {"work_order": wo_order.name, "docstatus": 0}, "name")
|
||||
update_job_card(job_card, 10, 2)
|
||||
|
||||
stock_entry = frappe.get_doc(make_stock_entry(wo_order.name, "Manufacture", 10))
|
||||
for row in stock_entry.items:
|
||||
if row.is_scrap_item:
|
||||
self.assertEqual(row.qty, 2)
|
||||
|
||||
def test_close_work_order(self):
|
||||
items = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user