fix: requested changes

This commit is contained in:
Anurag Mishra 2020-09-15 12:36:01 +05:30
parent 41f421d400
commit 9397b7f58b

View File

@ -453,7 +453,7 @@ 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.custom_remarks: return
if self.payment_type=="Internal Transfer":
remarks = [_("Amount {0} {1} transferred from {2} to {3}")