mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-12 17:23:38 +00:00
chore: Remove dead code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user