commit | 2add802d0dbe61c536b5753f1d0f84b0896306cb | [log] [tgz] |
---|---|---|
author | ruthra kumar <ruthra@erpnext.com> | Wed Nov 29 08:59:14 2023 +0530 |
committer | ruthra kumar <ruthra@erpnext.com> | Wed Nov 29 08:59:14 2023 +0530 |
tree | 50fb77bd291ad3712a3497d7884bb11e3092ca90 | |
parent | 3e6306348ac564976fc8b0d3ef7ec12a8d9961cc [diff] |
refactor(test): advance allocation on purchase invoice
diff --git a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py index 322fc9f..e43ea6e 100644 --- a/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py
@@ -1747,6 +1747,7 @@ 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(