[fix] On change of payment terms template, not fetch respective schedule data (#11928)
This commit is contained in:
committed by
Nabin Hait
parent
505661b5c0
commit
efbc0667ec
@@ -1186,7 +1186,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
|
||||
|
||||
payment_terms_template: function() {
|
||||
var me = this;
|
||||
if(this.frm.doc.payment_terms_template && !this.frm.doc.payment_schedule) {
|
||||
if(this.frm.doc.payment_terms_template) {
|
||||
frappe.call({
|
||||
method: "erpnext.controllers.accounts_controller.get_payment_terms",
|
||||
args: {
|
||||
|
||||
Reference in New Issue
Block a user