fetch updated document in test_quotation
This commit is contained in:
parent
cf3a2f6579
commit
565d3efcdf
@ -222,6 +222,7 @@ class TestQuotation(unittest.TestCase):
|
|||||||
expired_quotation.save()
|
expired_quotation.save()
|
||||||
expired_quotation.submit()
|
expired_quotation.submit()
|
||||||
set_expired_status()
|
set_expired_status()
|
||||||
|
expired_quotation = frappe.get_doc("Quotation",expired_quotation.name)
|
||||||
self.assertEqual(expired_quotation.status,"Expired")
|
self.assertEqual(expired_quotation.status,"Expired")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user