mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
test: validate payment schedule based on invoice amount
This commit is contained in:
@@ -2101,7 +2101,7 @@ class TestPurchaseInvoice(IntegrationTestCase, StockTestMixin):
|
|||||||
1,
|
1,
|
||||||
)
|
)
|
||||||
pi = make_pi_from_pr(pr.name)
|
pi = make_pi_from_pr(pr.name)
|
||||||
self.assertEqual(pi.payment_schedule[0].payment_amount, 2500)
|
self.assertEqual(pi.payment_schedule[0].payment_amount, 1000)
|
||||||
|
|
||||||
automatically_fetch_payment_terms(enable=0)
|
automatically_fetch_payment_terms(enable=0)
|
||||||
frappe.db.set_value(
|
frappe.db.set_value(
|
||||||
|
|||||||
Reference in New Issue
Block a user