fix: purchase return test case

This commit is contained in:
s-aga-r 2023-10-16 01:08:42 +05:30
parent 0f6d67d8d4
commit 240b161e81

View File

@ -2142,8 +2142,6 @@ class TestPurchaseReceipt(FrappeTestCase):
for entry in gl_entries: for entry in gl_entries:
self.assertEqual(abs(entry.debit + entry.credit), abs(sl_entries[0].stock_value_difference)) self.assertEqual(abs(entry.debit + entry.credit), abs(sl_entries[0].stock_value_difference))
self.assertIsNotNone(get_gl_entries(pr_return.doctype, pr_return.name))
def prepare_data_for_internal_transfer(): def prepare_data_for_internal_transfer():
from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_internal_supplier from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_internal_supplier