fix: test cases

(cherry picked from commit 1b556d1c53)
This commit is contained in:
Saqib Ansari
2022-03-24 17:59:34 +05:30
committed by mergify-bot
parent 650274e973
commit cf3e09588f
2 changed files with 2 additions and 1 deletions

View File

@@ -439,6 +439,7 @@ class TestPOSInvoice(unittest.TestCase):
)
si.get("items")[0].serial_no = serial_nos[0]
si.update_stock = 1
si.insert()
si.submit()

View File

@@ -442,7 +442,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()