refactor(test): advance allocation on purchase invoice
This commit is contained in:
parent
3e6306348a
commit
2add802d0d
@ -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