chore: remove print from account controller (#25807)
This is polluting test output and it's not useful for debugging without context.
This commit is contained in:
parent
a2d6cf3125
commit
7b4a38c71e
@ -1011,7 +1011,7 @@ class AccountsController(TransactionBase):
|
||||
else:
|
||||
grand_total -= self.get("total_advance")
|
||||
base_grand_total = flt(grand_total * self.get("conversion_rate"), self.precision("base_grand_total"))
|
||||
print(grand_total, base_grand_total)
|
||||
|
||||
if total != flt(grand_total, self.precision("grand_total")) or \
|
||||
base_total != flt(base_grand_total, self.precision("base_grand_total")):
|
||||
frappe.throw(_("Total Payment Amount in Payment Schedule must be equal to Grand / Rounded Total"))
|
||||
|
Loading…
Reference in New Issue
Block a user