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:
Ankush Menat 2021-05-23 18:49:26 +05:30 committed by GitHub
parent a2d6cf3125
commit 7b4a38c71e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))