fix: Test case

This commit is contained in:
Deepesh Garg 2022-01-07 20:57:15 +05:30
parent 30a647ff80
commit 18c4ddadf1

View File

@ -2547,9 +2547,10 @@ class TestSalesInvoice(unittest.TestCase):
acc_settings = frappe.get_doc('Accounts Settings', 'Accounts Settings')
acc_settings.book_deferred_entries_via_journal_entry = 0
acc_settings.submit_journal_entriessubmit_journal_entries = 0
acc_settings.acc_frozen_upto = None
acc_settings.save()
frappe.db.set_value('Accounts Settings', None, 'acc_frozen_upto', add_days(getdate(), 1))
def get_sales_invoice_for_e_invoice():
si = make_sales_invoice_for_ewaybill()
si.naming_series = 'INV-2020-.#####'