test: fixed test_make_sales_invoice_with_terms

This commit is contained in:
diptanilsaha
2025-12-02 12:58:43 +05:30
committed by ruthra kumar
parent 4da44e2c3f
commit 2c13b2cc22

View File

@@ -202,7 +202,11 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
@change_settings(
"Accounts Settings",
{"add_taxes_from_item_tax_template": 0, "add_taxes_from_taxes_and_charges_template": 1},
{
"add_taxes_from_item_tax_template": 0,
"add_taxes_from_taxes_and_charges_template": 1,
"automatically_fetch_payment_terms": 1,
},
)
def test_make_sales_invoice_with_terms(self):
so = make_sales_order(do_not_submit=True)