refactor(test): advance allocation on purchase invoice

(cherry picked from commit 2add802d0d)
This commit is contained in:
ruthra kumar 2023-11-29 08:59:14 +05:30 committed by Mergify
parent 86b2de4013
commit c67d0eb718

View File

@ -1747,6 +1747,7 @@ class TestPurchaseInvoice(FrappeTestCase, StockTestMixin):
paid_to="Creditors - _TC",
paid_amount=500,
)
pe.save() # save trigger is needed for set_liability_account() to be executed
pe.submit()
pi = make_purchase_invoice(