mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
fix: Do not update settings for test
This commit is contained in:
@@ -172,13 +172,11 @@ class TestSalesInvoice(unittest.TestCase):
|
|||||||
pe.save()
|
pe.save()
|
||||||
pe.submit()
|
pe.submit()
|
||||||
|
|
||||||
unlink_payment_on_cancel_of_invoice()
|
|
||||||
si2.load_from_db()
|
si2.load_from_db()
|
||||||
si2.cancel()
|
si2.cancel()
|
||||||
|
|
||||||
si1.load_from_db()
|
si1.load_from_db()
|
||||||
self.assertRaises(PaymentEntryUnlinkError, si1.cancel)
|
self.assertRaises(PaymentEntryUnlinkError, si1.cancel)
|
||||||
unlink_payment_on_cancel_of_invoice(0)
|
|
||||||
|
|
||||||
|
|
||||||
def test_sales_invoice_calculation_export_currency(self):
|
def test_sales_invoice_calculation_export_currency(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user