mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-30 01:22:18 +02:00
Revert "fix: update remark on submitting payment entry"
(cherry picked from commit 7d035fac36)
This commit is contained in:
committed by
mergify-bot
parent
d48e33dbd7
commit
bae83679c0
@@ -452,6 +452,8 @@ class PaymentEntry(AccountsController):
|
||||
frappe.throw(_("Reference No and Reference Date is mandatory for Bank transaction"))
|
||||
|
||||
def set_remarks(self):
|
||||
if self.remarks: return
|
||||
|
||||
if self.payment_type=="Internal Transfer":
|
||||
remarks = [_("Amount {0} {1} transferred from {2} to {3}")
|
||||
.format(self.paid_from_account_currency, self.paid_amount, self.paid_from, self.paid_to)]
|
||||
|
||||
Reference in New Issue
Block a user