mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
committed by
mergify-bot
parent
a4e897d30b
commit
8ed138e373
@@ -2520,9 +2520,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-.#####'
|
||||
|
||||
Reference in New Issue
Block a user