chore: contextual comments

(cherry picked from commit 794a62aecb)
This commit is contained in:
ruthra kumar
2024-07-15 14:29:07 +05:30
committed by Mergify
parent d20f3ab492
commit 8f03769bf2
2 changed files with 2 additions and 0 deletions

View File

@@ -467,6 +467,7 @@ class TestJournalEntry(unittest.TestCase):
# Change cost center for bank account - _Test Cost Center for BS Account
create_cost_center(cost_center_name="_Test Cost Center for BS Account", company="_Test Company")
jv.accounts[1].cost_center = "_Test Cost Center for BS Account - _TC"
# Ledger reposted implicitly upon 'Update After Submit'
jv.save()
# Check GL entries after reposting

View File

@@ -1908,6 +1908,7 @@ class TestPurchaseInvoice(FrappeTestCase, StockTestMixin):
check_gl_entries(self, pi.name, expected_gle, nowdate())
pi.items[0].expense_account = "Service - _TC"
# Ledger reposted implicitly upon 'Update After Submit'
pi.save()
pi.load_from_db()