mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
refactor(test): advance allocation on purchase invoice
(cherry picked from commit 2add802d0d)
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