chore: resolve conflict

This commit is contained in:
Diptanil Saha
2025-12-02 12:20:56 +05:30
committed by ruthra kumar
parent 78a3701f4c
commit a503460bd5

View File

@@ -200,16 +200,10 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
so.load_from_db()
self.assertEqual(so.per_billed, 0)
<<<<<<< HEAD
@change_settings(
"Accounts Settings",
{"add_taxes_from_item_tax_template": 0, "add_taxes_from_taxes_and_charges_template": 1},
)
=======
@IntegrationTestCase.change_settings(
"Accounts Settings", {"automatically_fetch_payment_terms": 1}
) # Enable auto fetch
>>>>>>> cf1d892d60 (fix: Payment Terms auto-fetched in Sales Invoice even when automatically_fetch_payment_terms is disabled)
def test_make_sales_invoice_with_terms(self):
so = make_sales_order(do_not_submit=True)
@@ -238,7 +232,7 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
si1 = make_sales_invoice(so.name)
self.assertEqual(len(si1.get("items")), 0)
@IntegrationTestCase.change_settings(
@change_settings(
"Accounts Settings", {"automatically_fetch_payment_terms": 1}
) # Enable auto fetch
def test_auto_fetch_terms_enable(self):
@@ -254,7 +248,7 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
si.insert()
si.submit()
@IntegrationTestCase.change_settings(
@change_settings(
"Accounts Settings", {"automatically_fetch_payment_terms": 0}
) # Disable auto fetch
def test_auto_fetch_terms_disable(self):