refactor: unit test for AR/AP report
This commit is contained in:
parent
cd9d70d6ee
commit
71521b6550
@ -12,6 +12,7 @@ class TestAccountsReceivable(unittest.TestCase):
|
|||||||
def test_accounts_receivable(self):
|
def test_accounts_receivable(self):
|
||||||
frappe.db.sql("delete from `tabSales Invoice` where company='_Test Company 2'")
|
frappe.db.sql("delete from `tabSales Invoice` where company='_Test Company 2'")
|
||||||
frappe.db.sql("delete from `tabGL Entry` where company='_Test Company 2'")
|
frappe.db.sql("delete from `tabGL Entry` where company='_Test Company 2'")
|
||||||
|
frappe.db.sql("delete from `tabPayment Ledger Entry` where company='_Test Company 2'")
|
||||||
|
|
||||||
filters = {
|
filters = {
|
||||||
"company": "_Test Company 2",
|
"company": "_Test Company 2",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user