Skip to content

Commit

Permalink
fix: add bank account to payment entry form
Browse files Browse the repository at this point in the history
  • Loading branch information
HKuz committed Aug 11, 2022
1 parent a739cb0 commit 3316d61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check_run/check_run/doctype/check_run/check_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def create_payment_entries(self, transactions):
pe.posting_date = nowdate()
pe.mode_of_payment = group[0].mode_of_payment
pe.company = self.company
pe.bank_account = self.bank_account
pe.paid_from = gl_account
pe.paid_to = self.pay_to_account
pe.paid_to_account_currency = frappe.db.get_value("Account", self.bank_account, "account_currency")
Expand Down

0 comments on commit 3316d61

Please sign in to comment.