fix: Stop fetching amount while fetching Payment Terms

This commit is contained in:
GangaManoj 2021-08-05 21:42:09 +05:30
parent 4a6ef9ab0f
commit e4a07d8ff3

View File

@ -1175,10 +1175,7 @@ class AccountsController(TransactionBase):
'due_date': schedule.due_date,
'invoice_portion': schedule.invoice_portion,
'discount_type': schedule.discount_type,
'discount': schedule.discount,
'base_payment_amount': schedule.base_payment_amount,
'payment_amount': schedule.payment_amount,
'outstanding': schedule.outstanding
'discount': schedule.discount
}
self.append("payment_schedule", payment_schedule)