refactor(test): advance allocation on purchase invoice
(cherry picked from commit 2add802d0dbe61c536b5753f1d0f84b0896306cb)
This commit is contained in:
parent
86b2de4013
commit
c67d0eb718
@ -1747,6 +1747,7 @@ class TestPurchaseInvoice(FrappeTestCase, StockTestMixin):
|
|||||||
paid_to="Creditors - _TC",
|
paid_to="Creditors - _TC",
|
||||||
paid_amount=500,
|
paid_amount=500,
|
||||||
)
|
)
|
||||||
|
pe.save() # save trigger is needed for set_liability_account() to be executed
|
||||||
pe.submit()
|
pe.submit()
|
||||||
|
|
||||||
pi = make_purchase_invoice(
|
pi = make_purchase_invoice(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user