submit quotation in test

This commit is contained in:
0Pranav 2019-11-22 13:22:12 +05:30
parent b3354198f1
commit 6c368e2dfb

View File

@ -217,7 +217,7 @@ class TestQuotation(unittest.TestCase):
}
]
yesterday = getdate(nowdate()) + datetime.timedelta(days=-1)
expired_quotation = make_quotation(item_list=quotation_item,transaction_date=yesterday,do_not_submit=True)
expired_quotation = make_quotation(item_list=quotation_item,transaction_date=yesterday)
set_expired_status()
self.assertEqual(expired_quotation.status,"Expired")