fix(test): update_prevdoc_status
This commit is contained in:
parent
47f867b77a
commit
4d0fa85a75
@ -1087,6 +1087,9 @@ class TestDeliveryNote(FrappeTestCase):
|
||||
sr = make_return_doc("Delivery Note", dn.name)
|
||||
sr.submit()
|
||||
|
||||
returned = frappe.get_doc("Delivery Note", sr.name)
|
||||
returned.update_prevdoc_status()
|
||||
|
||||
# Test that item qty is not reserved on sales return.
|
||||
self.assertEqual(get_reserved_qty(soi.item_code, soi.warehouse), 0)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user