8848digital / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
0 stars 0 forks source link

Purchase Invoice Test Case: test_repost_accounting_entries #541

Closed chintanshah8848 closed 2 days ago

chintanshah8848 commented 3 days ago

Information about bug

FAIL: test_repost_accounting_entries (erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice.TestPurchaseInvoice)

Traceback (most recent call last): File "/home/chintan/postgres-testing/frappe-bench-postgres/apps/erpnext/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py", line 2017, in test_repost_accounting_entries check_gl_entries(self, pi.name, expected_gle, nowdate()) File "/home/chintan/postgres-testing/frappe-bench-postgres/apps/erpnext/erpnext/accounts/doctype/purchase_invoice/test_purchase_invoice.py", line 2347, in check_gl_entries doc.assertEqual(expected_gle[i][0], gle.account) AssertionError: '_Test Account Cost for Goods Sold - _TC' != 'Creditors - _TC'

Module

accounts

Version

Assets: v0.0.1 (pre-prod)

ERPNext: v15.34.0 (pi_test_cases_issues)

Frappe Framework: v15.41.0 (pre-prod)

Payments: v0.0.1 (version-15)

sales_commission: v0.0.1 (master)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

chintanshah8848 commented 3 days ago

https://github.com/8848digital/erpnext/pull/542

tinadn commented 2 days ago

Resolved. Hence Closing.