fix: Remove Expense Claim from Bank Reconciliation

- add hooks `get_matching_queries` and `bank_reconciliation_doctypes` to extend the functionality in other apps
This commit is contained in:
Rucha Mahabal
2022-07-01 19:01:17 +05:30
parent ef7299470b
commit 466bf99835
6 changed files with 98 additions and 125 deletions

View File

@@ -498,6 +498,15 @@ period_closing_doctypes = [
"Stock Entry",
]
bank_reconciliation_doctypes = [
"Payment Entry",
"Journal Entry",
"Purchase Invoice",
"Sales Invoice",
"Loan Repayment",
"Loan Disbursement",
]
accounting_dimension_doctypes = [
"GL Entry",
"Payment Ledger Entry",
@@ -536,6 +545,11 @@ accounting_dimension_doctypes = [
"Sales Order",
]
# get matching queries for Bank Reconciliation
get_matching_queries = (
"erpnext.accounts.doctype.bank_reconciliation_tool.bank_reconciliation_tool.get_matching_queries"
)
regional_overrides = {
"France": {
"erpnext.tests.test_regional.test_method": "erpnext.regional.france.utils.test_method"