test: fixed test_make_sales_invoice_with_terms

This commit is contained in:
diptanilsaha
2025-12-02 12:58:43 +05:30
parent 7f87704a8b
commit 7837390139

View File

@@ -179,7 +179,11 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
@change_settings( @change_settings(
"Accounts 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): def test_make_sales_invoice_with_terms(self):
so = make_sales_order(do_not_submit=True) so = make_sales_order(do_not_submit=True)