fix: test cases

This commit is contained in:
Saqib Ansari 2022-03-24 17:59:34 +05:30
parent cb4873c019
commit 1b556d1c53
2 changed files with 2 additions and 1 deletions

View File

@ -340,6 +340,7 @@ class TestPOSInvoice(unittest.TestCase):
item=se.get("items")[0].item_code, rate=1000, do_not_save=1)
si.get("items")[0].serial_no = serial_nos[0]
si.update_stock = 1
si.insert()
si.submit()

View File

@ -435,7 +435,7 @@ class TestPOSInvoiceMergeLog(unittest.TestCase):
pos_inv2.append('payments', {
'mode_of_payment': 'Cash', 'account': 'Cash - _TC', 'amount': 100
})
pos_inv.submit()
pos_inv2.submit()
consolidate_pos_invoices()