[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
@@ -705,7 +705,7 @@ class AccountsController(TransactionBase):
|
||||
total_portion += flt(term.get('invoice_portion', 0))
|
||||
|
||||
if flt(total_portion, 2) != 100.00:
|
||||
frappe.throw(_('Combined invoice portion must equal 100%'), indicator='red')
|
||||
frappe.msgprint(_('Combined invoice portion must equal 100%'), indicator='red', raise_exception=1)
|
||||
|
||||
def is_rounded_total_disabled(self):
|
||||
if self.meta.get_field("disable_rounded_total"):
|
||||
|
||||
Reference in New Issue
Block a user