mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
refactor(test): advance allocation on purchase invoice
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user