chore: Update tests
This commit is contained in:
parent
06e8e28531
commit
5b74161195
@ -965,7 +965,8 @@ class TestSalesInvoice(unittest.TestCase):
|
|||||||
pos_return.insert()
|
pos_return.insert()
|
||||||
pos_return.submit()
|
pos_return.submit()
|
||||||
|
|
||||||
self.assertEqual(pos_return.get("payments")[0].amount, -1000)
|
self.assertEqual(pos_return.get("payments")[0].amount, -500)
|
||||||
|
self.assertEqual(pos_return.get("payments")[1].amount, -500)
|
||||||
|
|
||||||
def test_pos_change_amount(self):
|
def test_pos_change_amount(self):
|
||||||
make_pos_profile(
|
make_pos_profile(
|
||||||
|
Loading…
Reference in New Issue
Block a user