fix: Do not update settings for test
This commit is contained in:
parent
02f44528f2
commit
a1f0cebda5
@ -174,13 +174,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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user