From 29920145d5417e0ba244ced7a562881bb6f8cd3b Mon Sep 17 00:00:00 2001 From: Sagar Vora Date: Sat, 1 Jul 2023 13:08:41 +0530 Subject: [PATCH] fix: add `audit_trail_doctypes` hook --- lending/hooks.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lending/hooks.py b/lending/hooks.py index 12cd8c0f..978eeb2d 100644 --- a/lending/hooks.py +++ b/lending/hooks.py @@ -6,6 +6,17 @@ app_license = "GNU General Public License (v3)" required_apps = ["erpnext"] +audit_trail_doctypes = [ + # doctypes that make GL entries require Audit Trail to be maintained + # as per the laws applicable to Companies in India + "Loan Balance Adjustment", + "Loan Disbursement", + "Loan Interest Accrual", + "Loan Refund", + "Loan Repayment", + "Loan Write Off", +] + # Includes in # ------------------