Skip to content

Commit

Permalink
class name has been changed (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
viralkansodiya authored and agritheory committed Feb 6, 2024
1 parent 276eef7 commit 8d46b53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion check_run/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
# Override standard doctype classes
override_doctype_class = {
# "Bank": "check_run.overrides.bank.CustomBank",
"Payment Entry": "check_run.overrides.payment_entry.CustomPaymentEntry",
"Payment Entry": "check_run.overrides.payment_entry.CheckRunPaymentEntry",
}

# Document Events
Expand Down
2 changes: 1 addition & 1 deletion check_run/overrides/payment_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import json


class CustomPaymentEntry(PaymentEntry):
class CheckRunPaymentEntry(PaymentEntry):
def make_gl_entries(self, cancel=0, adv_adj=0):
if self.payment_type in ("Receive", "Pay") and not self.get("party_account_field"):
self.setup_party_account_field()
Expand Down

0 comments on commit 8d46b53

Please sign in to comment.