mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
test: enable automatically_fetch_payment_terms_from_quotation
This commit is contained in:
@@ -181,6 +181,10 @@ class TestQuotation(IntegrationTestCase):
|
|||||||
|
|
||||||
self.assertTrue(quotation.payment_schedule)
|
self.assertTrue(quotation.payment_schedule)
|
||||||
|
|
||||||
|
@IntegrationTestCase.change_settings(
|
||||||
|
"Selling Settings",
|
||||||
|
{"automatically_fetch_payment_terms_from_quotation": 1},
|
||||||
|
)
|
||||||
def test_make_sales_order_terms_copied(self):
|
def test_make_sales_order_terms_copied(self):
|
||||||
from erpnext.selling.doctype.quotation.quotation import make_sales_order
|
from erpnext.selling.doctype.quotation.quotation import make_sales_order
|
||||||
|
|
||||||
@@ -325,6 +329,10 @@ class TestQuotation(IntegrationTestCase):
|
|||||||
"Accounts Settings",
|
"Accounts Settings",
|
||||||
{"add_taxes_from_item_tax_template": 0, "add_taxes_from_taxes_and_charges_template": 0},
|
{"add_taxes_from_item_tax_template": 0, "add_taxes_from_taxes_and_charges_template": 0},
|
||||||
)
|
)
|
||||||
|
@IntegrationTestCase.change_settings(
|
||||||
|
"Selling Settings",
|
||||||
|
{"automatically_fetch_payment_terms_from_quotation": 1},
|
||||||
|
)
|
||||||
def test_make_sales_order_with_terms(self):
|
def test_make_sales_order_with_terms(self):
|
||||||
from erpnext.selling.doctype.quotation.quotation import make_sales_order
|
from erpnext.selling.doctype.quotation.quotation import make_sales_order
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user