Skip to content

Commit

Permalink
fix: add audit_trail_doctypes hook (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora authored Jul 1, 2023
1 parent dc4cba9 commit 9dd7b64
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lending/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <head>
# ------------------
Expand Down

0 comments on commit 9dd7b64

Please sign in to comment.