test: Add posting date parameter

This commit is contained in:
Deepesh Garg 2023-06-22 20:26:12 +05:30
parent b101dceb2a
commit 11a9bd523d

View File

@ -3252,9 +3252,10 @@ class TestSalesInvoice(unittest.TestCase):
si.submit()
expected_gle = [
["Exchange Gain/Loss - _TC", 500.0, 0.0],
["Sales - _TC", 0.0, 7500.0],
["_Test Receivable USD - _TC", 7500.0, 500],
["_Test Receivable USD - _TC", 7500.0, 0.0, nowdate()],
["_Test Receivable USD - _TC", 0.0, 500.0, nowdate()],
["Exchange Gain/Loss - _TC", 500.0, 0.0, nowdate()],
["Sales - _TC", 0.0, 7500.0, nowdate()],
]
check_gl_entries(self, si.name, expected_gle, nowdate())