chore: Remove dead code

This commit is contained in:
Deepesh Garg 2022-04-25 12:42:06 +05:30
parent 6c86067d90
commit 02aaa6546c

View File

@ -1530,12 +1530,6 @@ class TestPurchaseInvoice(unittest.TestCase):
company.save()
def enable_discount_accounting(enable=1):
buying_settings = frappe.get_doc("Buying Settings")
buying_settings.enable_discount_accounting = enable
buying_settings.save()
def check_gl_entries(doc, voucher_no, expected_gle, posting_date):
gl_entries = frappe.db.sql(
"""select account, debit, credit, posting_date